encrypt a string with the aes encryption standard using the application 's secret key . the provider used is by default this uses the platform default jsse provider . this can be overridden by defining application.crypto.provider in application.conf . the transformation algorithm used is the provider specific implementation of the aes name . on oracles jdk , this is aes/ctr/nopadding . this algorithm is suitable for small amounts of data , typically less than 32 bytes , hence is useful for encrypting credit card numbers , passwords etc. . for larger blocks of data , this algorithm may expose patterns and be vulnerable to repeat attacks . the transformation algorithm can be configured by defining application.crypto.aes.transformation in application.conf . although any cipher transformation algorithm can be selected here , the secret key spec used is always aes , so only aes transformation algorithms will work . concode_field_sep play.api.libs.Crypto crypto concode_field_sep String extractSignedToken concode_elem_sep String generateToken concode_elem_sep String decryptAES concode_elem_sep String decryptAES concode_elem_sep String sign concode_elem_sep String sign concode_elem_sep boolean constantTimeEquals concode_elem_sep boolean compareSignedTokens concode_elem_sep String generateSignedToken concode_elem_sep String signToken
String function ( String arg0 ) { return crypto . encryptAES ( arg0 ) ; }