prople/crypto
This library provides multiple core algorithms :
ECDH / X25519used for digital signature and key agreementEdDSA / ED25519used for digital signature and account managementAEAD (Authenticated Encryption with Associated Data)used for standard encryption keysChaCha20Poly1305: Used as main encryption algorithm
Argon2used as mainKDF (Key Deriviation Function)to hash the passwordBlake3used as main hash function when hashing generated shared secret key fromECDHChacha RNGused as main random generator
Notes:
- The
ECDH, the generated key secret, will using bytes and converted to hex. - The
EdDSA, the generated private key, will using bytes and converted to standardPEMformat.
INFO
All of these cryptographic algorithms used to fulfill
Propleproject's needs It's still possible to use all of these algorithms, as long as your project has a similarity withProple
All of these generated keys will be put and encrypted into KeySecure format following Ethereum KeyStore strategy, which means the generated json will be stored in disk. Example json output:
Installation
[]
= { = "0.1.1"}