bitwiseshiftleft/sjcl — Issue #43: default salt value is a function of the encryption key
Author: rongarret
Created: 2012-01-01 02:59:03+00:00
State: open

js> sjcl.encrypt('key','msg1')
"{\"iv\":\"kmrGkwPuCgWL3O2kSxM2mw\",\"salt\":\"LAYdXKPN2ME\",\"ct\":\"jb1ZdwKyVJtpdsjt\"}"
js> sjcl.encrypt('key','msg2')
"{\"iv\":\"Lsz7XdhDBTCypE8j025oxw\",\"salt\":\"LAYdXKPN2ME\",\"ct\":\"LIW0j871za8OWgSu\"}"