MCPcopy Create free account
hub / github.com/f0ng/autoDecoder / SHL

Method SHL

src/com/autoDecoder/util/SM4.java:28–30  ·  view source on GitHub ↗
(long x, int n)

Source from the content-addressed store, hash-verified

26 }
27
28 private long SHL(long x, int n) {
29 return (x & 0xFFFFFFFF) << n;
30 }
31
32 private long ROTL(long x, int n) {
33 return SHL(x, n) | x >> (32 - n);

Callers 1

ROTLMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected