This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import base64, requests, os, re, sys | |
from bs4 import BeautifulSoup | |
def _crack(code): | |
zeros = '' | |
ones = '' | |
for n,letter in enumerate(code): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {PF} from "./pf.js"; | |
import {GF} from "./gf.js"; | |
import {GF2n} from "./gf2n.js"; | |
import {BCHCode} from "./bchcode.js"; | |
import {Polynomial, PolynomialUtils} from "./polynomial.js"; | |
{ | |
console.log("[BCHCode with GF]"); | |
const gf = GF(PF(2), 4, [1, 1, 0, 0, 1]); |