taletn / libtomcrypt-rsa-howto Goto Github PK
View Code? Open in Web Editor NEWLibTomCrypt RSA digital signatures how-to
License: Other
LibTomCrypt RSA digital signatures how-to
License: Other
LIBTOMCRYPT RSA DIGITAL SIGNATURES HOW-TO This how-to describes how to implement RSA digital signatures using LibTomCrypt (and LibTomMath) on Windows and macOS. GETTING STARTED 1. Get LibTomMath and LibTomCrypt git clone https://github.com/TaleTN/libtommath.git git clone https://github.com/TaleTN/libtomcrypt.git 2. Remove unused source files (optional) perl remove_unused.pl --force 3. Build LibTomMath and LibTomCrypt [n]make [-f makefile.msvc] 4. Generate public/private key pair [n]make [-f makefile.msvc] key 5. Run sign and verify examples [n]make [-f makefile.msvc] test 6. Have fun! FILES IN THIS DISTRIBUTION dertoh.cpp - Utility that converts DER to C/C++ header file format, so you can directly include the public key in a C/C++ source file. dertopem.sh - Bash script that uses OpenSSL to convert the public and private key pair from DER to PEM file format. error.h - Helper routines for rsa_make_key.cpp, rsa_sign.cpp, and rsa_verify.cpp. LICENSE - License, duh! makefile - GCC/Clang makefile. makefile.msvc - Microsoft C/C++ makefile. README - <-- You are here. remove_unused.pl - Perl script that removes all unused LibTomMath and LibTomCrypt files. rsa_make_key.cpp - Example that generates a public and private key pair. rsa_sign.cpp - Example that signs a message. rsa_verify.cpp - Example that verifies a signature. LICENSE Copyright (C) 2015-2021 Theo Niessink <[email protected]> This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the LICENSE file for more details.
I came across your git while doing a google search to use libtomcrypt on an embedded system.
I want to use libtomcrypt in windows environment.
However, even if I download it from git, I do not have the Visual Studio 2008 version.
Also, other visual studios do not have a version.
I want to get a lib and run it in another program... I'm not sure from your kind explanation.
GETTING STARTED
1. Get LibTomMath and LibTomCrypt - Success โ
git clone https://github.com/TaleTN/libtommath.git
git clone https://github.com/TaleTN/libtomcrypt.git
Remove unused source files (optional) - Fail...
perl remove_unused.pl --force
Build LibTomMath and LibTomCrypt
[n]make [-f makefile.msvc]
Generate public/private key pair
[n]make [-f makefile.msvc] key
Run sign and verify examples
[n]make [-f makefile.msvc] test
Have fun! :(
Can you explain a little more?
I proceeded with step 1 below, and additionally downloaded your git and unzipped it.
The folders I currently have are "libtomcrypt", "libtommath", and "libtomcrypt-rsa-howto".
If you execute "perl remove_unused.pl --force" in step 2, the following error appears.
Can't stat libtommath: No such file or directory
at remove_unused.pl line 54.
Can't stat libtomcrypt: No such file or directory
at remove_unused.pl line 54.
how can i solve it...
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.