This commit is contained in:
denis
2026-06-02 11:58:08 -04:00
committed by GitHub
parent 3051825098
commit e53c8d02af
16 changed files with 99 additions and 16 deletions
@@ -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));
}
}