public static EncryptedText Encrypt(this string textToEncrypt) { var encryptionKey = AppInstance.Instance.ApiAssets[Constants.ASSET_ADMIN_ENCRYPTIONKEY]; var plainText = new PlainText(textToEncrypt); return(plainText.Encrypt(encryptionKey)); }
public string SolveChallenge() { return(_plainText.Encrypt(_encryptor, _key)); }