ciphr | CLI crypto swiss-army knife | Cryptography library
kandi X-RAY | ciphr Summary
kandi X-RAY | ciphr Summary
Ciphr is a CLI tool for performing and composing encoding, decoding, encryption, decryption, hashing, and other various operations on streams of data. It takes provided data, file data, or data from stdin, and executes a pipeline of functions on the data stream, writing the resulting data to stdout. It was designed primarily for use in the information security domain, mostly for quick or casual data manipulation for forensics, penetration testing, or capture-the-flag events; it likely could have other unforseen uses, but should be presumed to be an experimental toy as no effort was made to make included cryptographic functions robust against attacks (timing attacks, etc), and it is recommended not to use any included functions in any on-line security mechanisms.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create a new cipher
- Apply the input to the input .
- Create a new compressor .
- Applies a function to the input value .
- Read from buffer
- Returns a new chunk of input
- Multiply a function
- Creates a new input .
- Initialize a new cipher
- Create a new filter
ciphr Key Features
ciphr Examples and Code Snippets
Community Discussions
Trending Discussions on ciphr
QUESTION
I'm trying to decrypt a message encrypted with AES 192 ECB and getting a segmentation fault and don't know where to look anymore. I know ECB is unsafe, but it is not for a production application.
- I already checked my readFile method, it works (I wrote the ciphre back into a file and checked with the diff tool)
- The key is 24 Bytes long (checked with ls and hexdump)
- ECB has no IV-Vector as far as I know, so I have set it to NULL
- for the decryption part I used the example at https://wiki.openssl.org/index.php/EVP_Symmetric_Encryption_and_Decryption to get started
- I think the problem is at EVP_DecryptUpdate
- I tried to track it down further with gdb but I have no experience with this and only got
0x00007ffff798089d in ?? () from /usr/lib64/libcrypto.so.1.1
Thank you for your time.
...ANSWER
Answered 2021-Jun-06 at 05:48This is prefaced by the top comments.
your answer fixed it. The error on EVP_DecryptFinal_ex comes because of a wrong key Feel free to post your comment as an answer! – Akreter
plaintext
is uninitialized in main
.
I tried:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ciphr
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page