Category "encryption"

How to find encryption/encoding of a text

The text I have is from some malware and while trying to analyze it I found this text. It runs some powershell command. But It is encoded. Seems like base64 but

What is the equivalent of this php code in Nodejs?

I have this php code to encrypt and decrypt with RSA, I use only the encrypt data, because I need to decrypt the data with Node.js <?php include 'vendor/auto

Spring Cloud Discovery First Configuration Server Decryption Failed

I am trying discovery first implementation with Spring Cloud. I am getting failure for password decryption. I have .jks in the classpath. The same works when I

Use Go to encrypt message with ssh-rsa public key which then can be decrypted using openssl rsautl -decrypt

I have been trying to solve this for days. In Go code I am looking to take a ssh-rsa public key like: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGnnY4LuLq7Bs7VnFk2V

cms Enveloped Data binary encoding problem in pkijs

I'm trying trying to implement exchange of CMS encrypted content using the pkijs library. Basically I've just copied the example from here: https://pkijs.org/ex

Nodejs encrypt and decrypt using crypto decrypt badly only firsts characters

I have a js script that crypt and decrypt a file using these two functions Encryption function encryptFile(fileName) { const input = fs.createReadStream(fil

Generate RSA key with large public exponent

Step 1. I generated RSA key pairs for Alice and Bob, respectively, and encrypted a message for Alice using Alice's public key. Step 2. I multiplied the public

AES encryption of Image In Kotlin

I am trying to encrypt and decrypt the image by AES in Kotlin Key Generation Function- override suspend fun key_genration(callback: Enc) { val keygenerator

Safe ways to retain an encryption key in a local service memory after a reboot?

I'm writing a Windows service that receives an encryption key from our web server. Such key never leaves memory and is used to encrypt and decrypt sensitive dat

SAS changing a number when proc print?

When I run a proc print where segment ID equals 1234 the output shows segment ID 1235. SAS actually changes the last 4 digits of a 19 digit number. Contents sh

Java RSA decryption javax.crypto.IllegalBlockSizeException: Data must not be longer than 256 bytes

Small RSA decryption question with Java please. I want to meet in a secret location with a friend of mine. As we do not want anyone to eavesdrop on the secret l

how to open mpd with splitted mp4 files [closed]

`how to combine and play these file as single mp4 please help me i am beginner i'm using linux link: https://i.stack.imgur.com/PXyOa.jpg this

Encryption Strategy for Flashing or updating firmware on ARM Cortex M0+

I want to flash a firmware update through CAN, on my ARM Cortex M0+ MCU. I'm using MKV11 microcontroller. How can I secure the firmware, so that, even if the tr

PGP BouncyCastle + Kleopatra Decryption: Unknown Packet Type: 20

I am attempting to decrypt a file using BouncyCastle in C# that has been encrypted with RSA via Kleopatra. Unfortunately, I am receiving an error that states "

How do I implement Huffman coding followed by AES-128 for a text in Python?

After having implemented Huffman coding for text in Python, how do I effectively encrypt the resultant Huffman codes in AES-128? Huffman Coding using Python For

Use diffie hellman key exchange algorithm to encrypt and decrypt files in python

I want to implement an algorithm which will encrypt and decrypt files using diffie hellman algorithm but I am unable to find any solution for the same. Here is

How to validate data received via the Telegram's Web App

I'm trying to validate WebApp data but the result is not what I wanted. Telegram documentation: data_check_string = ... secret_key = HMAC_SHA256(<bot_token&g

Why https uses symmetric encryption for data transfer after establishing connection

I am trying to understand the working model of HTTPS protocol, Initially for establishing a secure connection asymmetric encryption was used, Once the client-se

Decrypting encrypted encoded string containing SAML assertion using OpenSAML in java

I'm trying to build utility that accepts an encrypted/encoded string containing a SAML 2 assertion string and spits out a decrypted/decoded assertion as plainte

What is the key scheme and encoding used in GUN?

What are the key schemes, sizes, and encodings used in GUN db? I didn't find a quick answer on searching so am adding the question here. The keys look like: let