method

encrypt_and_sign

encrypt_and_sign(value)
public

Encrypt and sign a message. We need to sign the message in order to avoid padding attacks. Reference: http://www.limited-entropy.com/padding-oracle-attacks