mfpierre / go-mcrypt Goto Github PK
View Code? Open in Web Editor NEWGo bindings for mcrypt library
License: MIT License
Go bindings for mcrypt library
License: MIT License
I get the following error when trying to use this library:
# github.com/mfpierre/go-mcrypt
vendor\github.com\mfpierre\go-mcrypt\mcrypt.go:7:10: fatal error: mcrypt.h: No such file or directory
#include <mcrypt.h>
^~~~~~~~~~
compilation terminated.
I have already installed mcrypt from here: https://sourceforge.net/projects/mcrypt/
This gave me mcrypt.exe as well as a bunch of dll files, which I have put on my path.
How/where do I get this mcrypt.h file?
First of all. thanks for that you provide this project. it's very helpful ! and I hope that you can understand what i have writen. cuz my english is not so well. :)
well, i have a problem when i do the decrypt&encrypt with this tool .
the function: mcrypt_enc_get_key_size which returns a integer of "Default Key Size". The question is, when i choose Rijndael-128 as CipherName. The requiredKeySize must be 32. Dose that mean 16 or 24 is not supported ?
so. i have to do something like this :
if (keyLength > requiredKeySize) {
*err = INVALID_KEY_LENGTH;
mcrypt_module_close(td);
return NULL;
}
and i also knew that is not right :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.