Skip to content
This repository was archived by the owner on Nov 6, 2021. It is now read-only.

Padding is Invalid #4

@PIN0L33KZ

Description

@PIN0L33KZ

Hi, if i decrypt any String i get this Exception thrown.
System.Security.Cryptography.CryptographicException: "Padding is invalid and cannot be removed."

This is the Code Used:

        'Encrypt Password
        Dim encrypter = New EasyEncrypt
        _encrypted_passwd = encrypter.Encrypt("TestString", Encoding.Default)
        Console.WriteLine(_encrypted_passwd)

        'Decrypt Password
        Dim decrypter = New EasyEncrypt
        _decrypted_passwd = decrypter.Decrypt(_encrypted_passwd, Encoding.Default) 'Excepton is thrown
        Console.WriteLine(_decrypted_passwd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions