Adjusted local variable in "encrypt" method for STATCrypto.