Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## unity.util
Class CryptoModule

    java.lang.Object
      unity.util.CryptoModule

    public class CryptoModule

extends java.lang.Object

CryptoModule implements the Cramer-Shoup public key Crypto Algorithm If you want to use it, you can find more information on:

     see: http://www.verify-it.de/sub/cramer_shoup.html
          http://www.verify-it.de/sub/crypter.html
          http://www.verify-it.de/applet/KeyGeneratorCS.java

Field Summary
`java.lang.String` | `keyNameString` Public and secret keys

Constructor Summary
`CryptoModule()`

Method Summary
`boolean[]` | `decrypt(boolean[] cryptoText)` -- Decrypting --
`java.lang.String` | `decrypt(java.lang.String input)`
`boolean[]` | `encrypt(boolean[] message)` -- Encrypting --
`java.lang.String` | `encrypt(java.lang.String input)`
`java.lang.String` | `getOutCharset()` Converter Methods

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### keyNameString

    public java.lang.String keyNameString

  Public and secret keys

Constructor Detail

### CryptoModule

    public CryptoModule()

Method Detail

### getOutCharset

    public java.lang.String getOutCharset()

  Converter Methods

### encrypt

    public java.lang.String encrypt(java.lang.String input)

### decrypt

    public java.lang.String decrypt(java.lang.String input)

### encrypt

    public boolean[] encrypt(boolean[] message)

  -- Encrypting --

### decrypt

    public boolean[] decrypt(boolean[] cryptoText)

  -- Decrypting --

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD