safebash / opencrypto

OpenCrypto is a lightweight JavaScript library built on top of WebCryptography API
MIT License
74 stars 23 forks source link

Update to OpenCrypto.js #1

Closed PeterBielak closed 7 years ago

PeterBielak commented 7 years ago

Extended configuration support for private key encryption according to (PKCS#8) It is now possible to encrypt private key using these cipher modes: AES256-GCM AES192-GCM AES128-GCM

AES256-CBC AES192-CBC AES128CBC

AES256-CFB AES192-CFB AES128-CFB

You can define algorithm for PBKDF2 SHA-512 SHA-384 SHA-256 SHA-1

Also added minor functions for salt generation with hex output and data fingerprint with hex output and function for ECDH key pair generation.