Class RipEmd160

java.lang.Object
com.almis.awe.model.util.security.RipEmd160

public final class RipEmd160 extends Object
Encoder in RipEmd160
Author:
pgarcia
  • Field Details

  • Constructor Details

    • RipEmd160

      public RipEmd160()
      Constructs a EncodeUtil object for Password Hash
    • RipEmd160

      public RipEmd160(String password) throws AWException
      Constructs a Encode util object for encryption
      Parameters:
      password - Master password
      Throws:
      AWException - AWE exception
  • Method Details

    • decrypt

      public String decrypt(String text, String encoding) throws AWException
      Decrypts a string
      Parameters:
      text - String to be decrypted
      encoding - Text encoding
      Returns:
      String decrypted
      Throws:
      AWException - AWE exception
    • encrypt

      public String encrypt(String text, String encoding) throws AWException
      Encrypts a string
      Parameters:
      text - String to be decrypted
      encoding - Text encoding
      Returns:
      String encrypted
      Throws:
      AWException - AWE exception
    • encodeRipEmd160

      public String encodeRipEmd160(String text)
      Encodes a text in RIPEMD-160
      Parameters:
      text - Text to encode
      Returns:
      Text encoded