Skip to main content
Best practices
0 votes
10 replies
92 views

In AES any message itself has is a two walues. Ghgf6hGh== and ghyTgas9= for example. How to combine them together and send to another person. I thougth about json, but, json has symbols that is not to ...
humankind's user avatar
Tooling
0 votes
12 replies
87 views

I did encryption with AES, got cipherText, key and iv. And I have wrote this into .txt files. All stuff in txt files look like this: dkfhepfGqW4fgheHjkjkdd69NkashgjtnBnh5f== , or like this: ...
humankind's user avatar
0 votes
1 answer
178 views

I'm trying to write a java program that encrypts and decrypts a byte array of text based on a password, but when decrypting, it returns an error Error message: Exception in thread "main" ...
Lucy's user avatar
  • 105
0 votes
0 answers
140 views

I’m working on a Node.js backend that generates a signed URL for uploading files to AWS S3 via CloudFront. However, when I hit the signed URL endpoint from curl, I always get the following response: {&...
Koperumsozhan VR's user avatar
5 votes
1 answer
206 views

Using AES in C# I wrote two static methods for encryption and decryption. Encrypt: static byte[] Encrypt(byte[] plaintext, byte[] Key, byte[] IV) { byte[] encrypted_data = null; using (Aes ...
Alternate's user avatar
0 votes
1 answer
201 views

Assuming we know the key and the IV for the data we're getting from the stream, is it possible to decrypt it within stream? I encrypted the same message three times and then decrypted it all at once, ...
user30252103's user avatar
1 vote
2 answers
121 views

I have simple code to encrypt and decrypt as follows... (1) To encrypt: from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unpad from Crypto.Hash import SHA256 as sha256 def sha(text):...
deostroll's user avatar
  • 12k
2 votes
0 answers
113 views

I am developing an application which uses Zephyr. I am trying to encrypt plaintext into ciphertext using AES-CCM encryption with my function as below. No matter what, psa_crypto_init() fails with ...
Engineer999's user avatar
  • 4,159
3 votes
1 answer
100 views

Generating a key and I have tried to understand how GenerateKey gets random in Linux. Example: using System; using System.Security.Cryptography; namespace AesEncryption { class Program { ...
Pea Kay See Es's user avatar
2 votes
1 answer
133 views

I'm porting an app from .NET framework to .NET and have notice some difference in behavior after the conversion. Inside a library that I use (not written by me) this piece of code will behave ...
tigrou's user avatar
  • 4,596
0 votes
0 answers
131 views

I am doing an OTA updater for an ESP32. I am using AWS Lambda to encrypt a presigned URL that is being generated for a certain element from an S3 bucket. I am first doing an AES encryption, and then ...
Maisu's user avatar
  • 11
0 votes
1 answer
83 views

Let's say you have an annotation configured on a per field basis: import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import ...
Nicholas DiPiazza's user avatar
0 votes
1 answer
176 views

I'm trying to write an app in flutter to perform softap provisioning for an ESP32-C6 (https://docs.espressif.com/projects/esp-idf/en/v5.4.1/esp32c6/api-reference/provisioning/wifi_provisioning.html). ...
Kari Cordes's user avatar
2 votes
1 answer
94 views

public static byte[] TestEncrypt(string plainText, byte[] key, byte[] iv) { using Aes aes = Aes.Create(); aes.Key = key; aes.IV = iv; // Create a new MemoryStream object to ...
Gouri's user avatar
  • 49
0 votes
1 answer
102 views

I want to combine with ggplot2 a layer where I compare three regressions and a layer where I just display three new samples to evaluate their locations to the regressions lines. (the mock data is ...
Laurent's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
490