bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.18k stars 987 forks source link

It would be very helpful to document defaults #346

Open SyntaxPolice opened 6 years ago

SyntaxPolice commented 6 years ago

Greetings! Thanks for your great work.

The home page advertises the sjcl.encrypt and decrypt functions as well as a variety of key sizes and ciphers available and mentions sensible defaults. It would be very helpful to clearly document the defaults, either on the home page or in the docs for the convenience functions. For instance saying AES CCM 128 PBKDF2 x 1000 is the default (or whatever other parameters are relevant) would be quite helpful!