Category "encryption"

How to use 15 length character key in flutter encrypt package

I'm going to use this package for encryption in the flutter application. It doesn't accept keys lower than 16 characters long. But I want to use 15 characters k

Convert Bouncy Castle RSA sign to .NET 5 sign

I'm trying to remove the dependency on Bouncy Castle for a PowerShell module, whilst keeping it cross platform. Currently I have the following code: function In

Users can decompile Source Code, how can I safely access Databases and Servers?

So, Im programming a Chrome Extension. I want to store data in a Database. I logically dont want anyone else to have access to the database. How can I make it t

SImon cipher in CBC mode using Python

I want to implement CBC mode in Simon Cipher and i also have put the initialization vector. My problem is why the decryption output give the wrong result. The o

How do I keep grabbing bytes and encrypting them in Python?

cipher = Cipher(algorithms.AES(key), modes.CTR(iv)) decryptor = cipher.decryptor() plaintext = decryptor.update(data[0:4]) paramEntry1 = int.from_bytes(plainte

Python Bytes & Lists & Encryption

I'm using Fernet to encrypt my data with this implementation. Let's assume that I have these three data: data = [fernet.encrypt("Hello".encode()), fernet.encryp

How do I find Hash type If I know INPUT an OUTPUT

I have an encrypted hash and I don't know the HASH TYPE. I have 2 alternatives, one of them is surely correct (matches INPUT with OUTPUT). How can I find the ha

How did this machine establish an encrypted connection with a server with just a TCP handshake?

beginner here. I am currently looking at some C&C traffic from an infected machine and have come across some interesting TCP segments within the PCAP file.

How I can encrypt data with 32 bits length using AES algorithm?

I have a version of AES algorithm with 128bits in plaintext, now i want to change this version to 32bits in plaintext . How can i do this, please ? That's part

Unable to decrypt PGP encrypted file into Stream from Azure Blob storage using C# scripting within script task of SSIS

I am trying to read the PGP encrypted file from Azure Blob Storage using SSIS package - Script Task- C# code into Stream, decrypt the file data into string and

Defining multiple encrypted parameters

I have encrypted parameters in my url, for example: Encrypted example.com/?auth= *****"encrypted data here including other parameters like &username=hellowo

TLS_DHE_RSA_WITH_AES_128_CCM support

I am getting below error when trying to run a server with TLS_DHE_RSA_WITH_AES_128_CCM: java.lang.IllegalArgumentException: Unsupported CipherSuite: TLS_DHE_RSA

Rijndael Encryption/Decryption C# to PHP conversion

I have an encryption decryption class written in C# and i need help writing same algorithm in PHP to obtain same output result, any help finding a reliable solu

Failed to decrypt data with Fernet - TypeError: token must be bytes

I'm trying to make simple encrypt/decrypt cli script. I'm getting an error while decoded the encrypted text. TypeError: token must be bytes If I use str.encod

How to encrypt string which has special characters using AWS KMS

I want to encrypt and decrypt string using AWS KMS: Case 1: string = 'AKCp5aUZygCWGJeAHYSFwi6yxYbcShTGUSQwBXp8wTBnjVTpRDb5EyStWEQmZ1RPsPmYt9sjz' aws kms encryp

Design Q about sending authentication information through a message queue

I'm designing a webhook receiver to work with a third party (over whom I have no control). The third party sends events (HTTPS) on behalf of our users that are

How to Encrypt Windows Identity value?

I'm using x = System.Security.Principal.WindowsIdentity.GetCurrent().User.Value; which outputs the users windows identity. Here is an example of what the outp

Can keys or hashes trigger an injection attack?

Can hashes or keys generated (either intentionally or accidentally) that would trigger an injection attack? For example, if the hash or key was generated as som

translating SQLcipher GUI to CLI (or pyhton)

The question is simple How can i turn this SQLciper GUI Into lines of code either in SQLciper CLI or using a python module ? Here's what i've tried (FAILED ATTE

PHP and Android Keystore encryption / decryption

I've been trying to get this for hours now, and I can't find what's wrong. I'm using a php RESTful API that I made to encrypt data using asymmetric encryption.