First implementation of password and salt generation

May use short array syntax.