src/crypto/subtle.bend checks
raw source on the hub · import 0xd9a2fae439ac7ff9e21e0853948f94fe/src/crypto/subtle.bend as Subtle
1 import
import Base
Definitions
def diff source · line 17 · raw
@a:List<&2, U32> -> @b:List<&2, U32> -> @acc:U32 -> U32
OR of the XOR of every pair of positions, over the common prefix.
def eq source · line 25 · raw
@+a:List<&2, U32> -> @+b:List<&2, U32> -> Bool
True exactly when a and b are the same list.