Skip to content

Encryption Length Limit #11

@jc-gc

Description

@jc-gc

The current length of a message is limited by both the header size and also the RSA encryption key size as encrypted message bytes are padded out to the size of the key and no more. From brief research, RSA encryption is commonly used to encrypt the key of an asymmetric encryption method (One key for encryption and decryption, AES for example) which will likely be the chosen solution. The only other idea I can think of at the moment would be to fragment strings and encrypt parts of a string at a time but as far as I can tell, this can be avoided by using an asymmetric encryption method.

(Ideally, the solution should be as or more secure than what using RSA encryption alone for all messages theoretically would be)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions