Working encryption

No actual functions yet