mono - c# - System.Security.Cryptography.AesCryptoServiceProvider could not be loaded, used in System.Core

357 views Asked by At

I use mono to execute console application on unix machine. When i start application I got error

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

Inside my app I use AesCryptoServiceProvider class of System.Security namespace.

On Windows machine all work fine.

net framework is 3.5

mono version

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

There are 1 answers

0
ciro On

AesCryptoServiceProvider is not in mono 1.2.6.

It is necessary to use different algorimitmi as TripleDESCryptoServiceProvider