Simple crypto functions in pure Julia (no security guarantees!)