First draft of encrypt/decrypt scripts