mirror of
https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git
synced 2026-08-21 13:36:21 -04:00
11 lines
242 B
Java
11 lines
242 B
Java
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));
|
|
}
|
|
}
|