8 lines
158 B
Plaintext
8 lines
158 B
Plaintext
|
#pragma curve bn128
|
||
|
|
||
|
import "./pack" as pack;
|
||
|
|
||
|
// pack 128 big-endian bits into one field element
|
||
|
def main(bool[128] bits) -> field {
|
||
|
return pack(bits);
|
||
|
}
|