mirror of
https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git
synced 2026-08-21 13:36:21 -04:00
Maven (#9)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package de.caydenno1.xacrypto.hash;
|
||||
|
||||
public class ROT {
|
||||
public static int ROTR(int x, int n){
|
||||
return (x >>> n) | (x << (32 - n));
|
||||
}
|
||||
public static int ROTL(int x, int n){
|
||||
return (x << n) | (x >>> (32 - n));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user