/// <summary> /// 对明文进行加密 /// </summary> /// <param name="key">秘钥</param> /// <param name="toEncrypt"></param> /// <returns>密文</returns> public byte[] Encryptor(String key, byte[] toEncrypt) { return(RSACrypto.Encryptor(toEncrypt, key)); }
/// <summary> /// 对明文进行加密 /// </summary> /// <param name="key">秘钥</param> /// <param name="toEncrypt"></param> /// <returns>密文</returns> public byte[] Encryptor(String key, byte[] toEncrypt) { return(RSACrypto.Encryptor(toEncrypt, key)); }