Skip to content

Why are you multiplying hte chunk size by 2 .... I don't think this is good.... #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
your doing something that I believe may be compromising the cryptographic 
strength of the algorithm. this.chunkSize = 2 * biHighIndex(this.m); Basically 
the message should always be shorter than this value you should not be 
multiplying by 2 I don't think.... I ran into issues where any message that 
started with a length of 0's equal to biHighIndex(this.m) would encode to an 
empty string. this is because of course the modulus would be 0.... I think this 
needs to be fixed....

Original issue reported on code.google.com by peterswa...@gmail.com on 12 Aug 2011 at 7:34

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions