Cryptography for portable class libraries