[Feature request] Add encrypt() and decrypt() extension functions to String
Decrypting and encrypting is very complicated, but why does it need to be this way? Would it be possible to simply have an encrypt function that takes in an encryption key (that should be minimum at the size of a UUID, 128 bit), and then a decrypt function where you send in the same key to decrypt?
Example:
val encryptedString = "My string".encrypt(encryptionKey)
println(encryptedString.decrypt(encryptionKey)
The same crypto algo will be used everywhere, but is that a problem as long as the...