mirror of
https://git.wownero.com/wowlet/wownero-seed.git
synced 2024-08-15 01:03:29 +00:00
wowify
This commit is contained in:
parent
8d19ea23db
commit
3d70455534
17 changed files with 49 additions and 49 deletions
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2020 tevador <tevador@gmail.com>
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "gf_poly.hpp"
|
||||
|
||||
class reed_solomon_code {
|
||||
public:
|
||||
reed_solomon_code(unsigned check_digits);
|
||||
void encode(gf_poly& data) const;
|
||||
bool check(const gf_poly& message) const;
|
||||
private:
|
||||
gf_poly get_syndrome(const gf_poly& message) const;
|
||||
gf_poly generator;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue