26 lines
389 B
Java
26 lines
389 B
Java
/**
|
|
* Author: Timothy Prepscius
|
|
* License: GPLv3 Affero + keep my name in the code!
|
|
*/
|
|
|
|
package core.crypt;
|
|
|
|
import core.exceptions.CryptoException;
|
|
|
|
public class CryptorNone extends Cryptor
|
|
{
|
|
|
|
@Override
|
|
public byte[] encrypt(byte[] bytes) throws CryptoException
|
|
{
|
|
return bytes;
|
|
}
|
|
|
|
@Override
|
|
public byte[] decrypt(byte[] bytes) throws CryptoException
|
|
{
|
|
return bytes;
|
|
}
|
|
|
|
}
|