Password based (scrypt) buffer encryption