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
#include <opencv2/core/core.hpp>; | |
#include <opencv/cv.h>; | |
#include <opencv2/highgui/highgui.hpp>; | |
using namespace cv; | |
using namespace std; | |
int main() | |
{ |
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 sys | |
import numpy.random | |
import itertools | |
class GostCrypt(object): | |
def __init__(self, key, sbox): | |
assert self._bit_length(key) <= 256 | |
self._key = None |
NewerOlder