mono - c# - System.Security.Cryptography.AesCryptoServiceProvider无法加载,在System.Core中使用

时间:2017-01-25 14:43:39

标签: c# mono aescryptoserviceprovider

我使用mono在unix机器上执行控制台应用程序。 当我开始申请时,我收到了错误

System.Security.Cryptography.AesCryptoServiceProvider could not be loaded, used in System.Core

在我的应用程序中,我使用System.Security命名空间的AesCryptoServiceProvider类。

在Windows机器上一切正常。

net framework是3.5

单声道版

Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

1 个答案:

答案 0 :(得分:0)

AesCryptoServiceProvider不是单声道1.2.6。

有必要使用不同的algorimitmi作为TripleDESCryptoServiceProvider