Comments (4)
The testhashes in https://github.com/ColumPaget/Hashrat/blob/master/check.sh are also not rfc 4648 compliant:
TestHash 64 "base 64 encoding" aOiOe0ag+9ilTIky0qlxDQ==
...
TestHash p64 "'website compatible' base 64 encoding" "PDXDToPVyxX_I8Zmoe_l3F"
from hashrat.
The problem is probably in https://github.com/ColumPaget/libUseful/blob/master/Encodings.h:
#define BASE64_CHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
...
#define PBASE64_CHARS "0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"
This last line is not rfc 4648 compliant. It must be:
#define PBASE64_CHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
See also: ColumPaget/libUseful#3
from hashrat.
Hi jvw1954. I don't think I originally made the -p64 option to be rfc4648 compliant, I didn't even know that rfc existed, I think. I just found there were some issues with websites and came up with a schema to handle that. But there's no reason why I couldn't add another schema with the config you've given it here, and maybe call it '-r64' or '-rfc4648', or both! I'll do it and release a new version shortly.
from hashrat.
New version of Hashrat (v1.13) is now out with the -r64 (or also the -rfc4648) option.
from hashrat.
Related Issues (20)
- Hashrat always returns exit code 1 when used for something else than checking hashes HOT 3
- Should use unrolled SHA2 transform by default
- 3 Error when try to compiling the code under Mac os HOT 2
- [Feature Request] Verbose mode HOT 2
- Zlib support reported as enabled when --enable-ssl is but --enable-zlib is NOT given HOT 1
- Unable to compile while enable-zlib is given HOT 1
- Problem with special characters in the filename/path HOT 2
- feature request: hex input HOT 1
- Is the outputting of new files with -C implemented? HOT 3
- "-c -xattr" didn't work properly HOT 1
- Feature Request: argon2
- feature request: Don't update xattrs for unmodified files HOT 5
- SHA-256 tests reported as broken HOT 7
- HMAC Segmentation fault HOT 1
- No escaping of file names with "'" when calling hook script HOT 2
- Feature Request: Return exit code of zero (0) when hashing a file. HOT 1
- [HELPWANTED] Windows binary HOT 1
- Unexpected result while hashing multiple times HOT 1
- Unable to use SSL/TLS with OpenSSL 1.1 HOT 9
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 hashrat.