MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / rotl64

Function rotl64

test/functional/test_framework/siphash.py:10–11  ·  view source on GitHub ↗
(n, b)

Source from the content-addressed store, hash-verified

8"""
9
10def rotl64(n, b):
11 return n >> (64 - b) | (n & ((1 << (64 - b)) - 1)) << b
12
13def siphash_round(v0, v1, v2, v3):
14 v0 = (v0 + v1) & ((1 << 64) - 1)

Callers 1

siphash_roundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected