forked from openrs2/openrs2
This will allow us to replace IsaacRandom in the future Netty encoders/decoders with an implementation suitable for use in a unit test. Signed-off-by: Graham <gpe@openrs2.org>bzip2
parent
c10ab13181
commit
a86f000f88
@ -0,0 +1,7 @@ |
||||
package org.openrs2.crypto |
||||
|
||||
public object NopStreamCipher : StreamCipher { |
||||
override fun nextInt(): Int { |
||||
return 0 |
||||
} |
||||
} |
@ -0,0 +1,5 @@ |
||||
package org.openrs2.crypto |
||||
|
||||
public interface StreamCipher { |
||||
public fun nextInt(): Int |
||||
} |
Loading…
Reference in new issue