Giter Club home page Giter Club logo

krypto.jl's Introduction

Krypto.jl

A futuristic crypto library. In Julia.

100% pure Julia implementations of most popular cryptographic algorithms. Contains native implementations of PQC (Post-Quantum Cryptography). Contributions welcome.

Disclaimer

WARNING: This package is in a Proof-of-Concept state and is NOT (yet) ready for production use. Proceed at your own risk.

Current features

  • 100% native Julia implementations. No wrappers. No non-Julia dependencies.
  • Support for RSA (working primitives, PKCS#1 not working)
  • Support for RLWE (working crypto-primitives, non-working NTT)
  • Support for ECC math (no primitives of yet)
  • Support for Salsa20 (fully working)

Algorithms

Implementation status: complete, partial. The higher an algorithm is listed in a specific section, the more of it is actually implemented.

Asymmetric

Symmetric

Block ciphers

Stream ciphers

Dependencies

Krypto.jl requires some packages to run properly. Besides the julia binary, you'll need the following.

  • SHA (general use of SHA), at least 0.3
  • Primes (needed by RSA and others), at least 0.1.1

License

MIT. Whatever happens to you, remember: it's not my fault but the code you used is. ¯\(ツ)

krypto.jl's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

krypto.jl's Issues

Unable to use Krypto

I tried to pull it and use it, but I get this error.

[ Info: Precompiling Krypto [22b01cb4-8998-51a4-b592-bce4434a1af0]
┌ Warning: Package Krypto does not have Compat in its dependencies:
│ - If you have Krypto checked out for development and have
│   added Compat as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Krypto
└ Loading Compat into Krypto from project dependency, future warnings for Krypto are suppressed.
ERROR: LoadError: LoadError: syntax: extra token "CryptoAlgorithm" after end of expression
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include at ./sysimg.jl:29 [inlined]
 [4] include(::String) at /home/rv/.julia/packages/Krypto/V7RD3/src/Krypto.jl:2
 [5] top-level scope at none:0
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1038
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] top-level scope at none:2
 [10] eval at ./boot.jl:319 [inlined]
 [11] eval(::Expr) at ./client.jl:389
 [12] top-level scope at ./none:3
in expression starting at /home/rv/.julia/packages/Krypto/V7RD3/src/Util/CryptoTypes.jl:5
in expression starting at /home/rv/.julia/packages/Krypto/V7RD3/src/Krypto.jl:78
ERROR: Failed to precompile Krypto [22b01cb4-8998-51a4-b592-bce4434a1af0] to /home/rv/.julia/compiled/v1.1/Krypto/tqfJy.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] require(::Module, ::Symbol) at ./logging.jl:311

provide the org for regular crypto use

Hello @vinctux would it be possible to provide this org for use of holding regular crypto packages - wrappers around common crypto libs - Nettle.jl and such?

If you agree, the easiest way may be to rename this org to JuliaQuantumCrypto and I can then grab JuliaCrypto. Alternately just invite me to be an owner here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.