Skip to content

RSA encryption problem #10

@leonpet123

Description

@leonpet123

so as u know the AES key generates at a size of 64, i would like to encrypt that key with client's RSA public key, so I did, but the encrypted msg length is always 80, doesn't matter what the RSA key length is (1024, 2048, 4096 etc) the encrypted msg in that situation should be always bits/8.
im using 1024 bits so my encrypted aes key should be about the size of 128, if its not a problem so pls help me understand, i tried the same system in python and in python it works as it should.

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