feat: add task runner for block2poly
This commit is contained in:
parent
52dca1bcaf
commit
963239903e
5 changed files with 69 additions and 28 deletions
|
|
@ -9,5 +9,6 @@ pub fn poly2block(args: &Value) -> String {
|
|||
.into_iter()
|
||||
.map(|x| x.as_u64().unwrap() as u8)
|
||||
.collect();
|
||||
|
||||
BASE64_STANDARD.encode(poly::coefficient_to_binary(coefficients).to_ne_bytes())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue