Encryption

object Encryption
class Object
trait Matchable
class Any

Value members

Concrete methods

def clear(pwd: Array[Byte]): Unit
def decryptAES(password: Array[Byte], encrypted: Array[Byte], len: Int): String
def decryptAESBytes(password: Array[Byte], encrypted: Array[Byte], len: Int): (Array[Byte], Int)
def encryptAES(password: Array[Byte], inputString: String): (Int, Array[Byte])
Value Params
inputString

the text to encrypt using AES

password

the password used for encrypting the text

Returns

the total bytes and encrypted text

def encryptAES(password: Array[Byte], input: Array[Byte]): (Int, Array[Byte])