Hi @edewit I would suggest to make the IV random, into this way we do not encourage our developers to hard-code it.

    IV: AeroGear.Crypto().getRandomValue()

The 'rawPassword' I suggest to create a variable, otherwise most of the newcomers might get lost, so something like:

    var rawPassword = AeroGear.Crypto().deriveKey( "my password" ),