Package freenet.crypt

Examples of freenet.crypt.UnsupportedCipherException


   */
  public Rijndael(int keysize, int blocksize) throws UnsupportedCipherException {
    if (! ((keysize == 128) ||
        (keysize == 192) ||
        (keysize == 256)))
      throw new UnsupportedCipherException("Invalid keysize");
    if (! ((blocksize == 128) ||
        (blocksize == 256)))
      throw new UnsupportedCipherException("Invalid blocksize");
    this.keysize=keysize;
    this.blocksize=blocksize;
  }
View Full Code Here

TOP

Related Classes of freenet.crypt.UnsupportedCipherException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.