An implementation of scrypt in pure JS