Base solution for your next web application
Open Closed

Encryption Algorithm #4199


User avatar
0
registosglintt created

Hi,

I'm using "ASP.NET MVC 5.x, ASP.NET Web API and jQuery".

Which encryption/decryption algorithm is used? It's Cipher Block Chaining (CBC)?

I have another question, can I change the encryption/decryption algorithm?

Thanks in advice.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This is the class used for encryption/decryption, <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp/Runtime/Security/SimpleStringCipher_NetStandard.cs">https://github.com/aspnetboilerplate/as ... tandard.cs</a> and it uses AES algorithm (CipherMode is CBC).

    You cannot change it for ABP's internal usage, why do you need that ?

  • User Avatar
    0
    registosglintt created

    Hi ismcagdas, thank you for your reply,

    Because I need to implement others password encryption/decryption algorithms .

  • User Avatar
    0
    ismcagdas created
    Support Team

    @registosglintt, as I said before, you cannot change SimpleStringChiper but if you need this for a specific use case, for example encrypting user's password etc, there might be a way.

    Can you explain your use case a little bit more ?