Files
XACrypto/src/main/java/de/caydenno1/xacrypto/hash/ROT.java
T
2026-06-02 11:58:08 -04:00

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));
}
}