yomorun / hashids-java

Hashids algorithm v1.0.0 implementation in Java
http://hashids.org
MIT License
1.02k stars 155 forks source link

Update documentation regarding "Encryption" #70

Closed nkavian closed 3 years ago

nkavian commented 4 years ago

Hashids.java uses the term Encrypt and Decrypt when the website explicitly says this does not provide encryption. Can you update the documentation? It's easy enough to simply refer to it what it is actually doing Encode and Decode.

  /**
   * Encrypt numbers to string
   *
   * @param numbers
   *          the numbers to encrypt
   * @return the encrypt string
   */
  public String encode(long... numbers) {
0x3333 commented 3 years ago

It has been fixed on master in commit e57ed1c4f9. Where did you find these?

nkavian commented 3 years ago

Maybe it was the version of the library I was using at the time. Thanks, closing.