Package net.bnubot.util.crypto

Source Code of net.bnubot.util.crypto.DMCryptoTest

/**
* This file is distributed under the GPL
* $Id: DMCryptoTest.java 1601 2008-09-10 18:27:31Z scotta $
*/

package net.bnubot.util.crypto;

import junit.framework.TestCase;
import net.bnubot.util.ByteArray;

/**
* @author scotta
*/
public class DMCryptoTest extends TestCase {
  public void testComplete() {
    ByteArray in = new ByteArray("testing 1 2 3");
    ByteArray out = DMCrypto.decode(DMCrypto.encode(in));

    assertEquals(in, out);
  }
}
TOP

Related Classes of net.bnubot.util.crypto.DMCryptoTest

TOP
Copyright © 2018 www.massapi.com. 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.