Comments (2)
hello, i run the example on ubuntu,like this:
./example EF4359D8D580AA4F7F036D6F04FC6A12 323030323130 11 13588888888
key: ef 43 59 d8 d5 80 aa 4f 7f 03 6d 6f 04 fc 6a 12
tweak: 32 30 30 32 31 30
after map: 1 3 5 8 8 8 8 8 8 8 8
========== FF1 ==========
ciphertext(numeral string): 5 9 10 4 10 4 9 3 1 6 1
ciphertext: 59a4a493161
plaintext: 1 3 5 8 8 8 8 8 8 8 8
========== FF3 ==========
ciphertext(numeral string): 9 9 9 1 8 0 4 1 3 10 6
ciphertext: 999180413a6
plaintext: 1 3 5 8 8 8 8 8 8 8 8
why i got a a
in cipher? i just want cipher is a int. I use https://github.com/capitalone/fpe, but no this problem.
from format-preserving-encryption.
sorry, i've set a wrong radix
from format-preserving-encryption.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from format-preserving-encryption.