First Commit. Basic Crypto Functions