id
stringlengths
7
11
source
stringclasses
1 value
category
stringclasses
11 values
title
stringlengths
15
214
text
stringlengths
70
30.5k
url
stringlengths
57
160
tags
stringlengths
3
113
created_at
int64
1.22B
1.79B
se_77016987
stackoverflow
CYBERSECURITY
Can we do Client side Encryption with Iceberg format?
Can we do Client side Encryption with Iceberg format? currently we are working on AWS environment. We are already having server side encryption on s3 bucket . But in order to secure data in transit , we are planning to use Client side Encryption with s3 bucket dedicated for iceberg format . Is there any way we can per...
https://stackoverflow.com/questions/77016987/can-we-do-client-side-encryption-with-iceberg-format
amazon-web-services, encryption
1,693,493,609
se_78585994
stackoverflow
CYBERSECURITY
What are common encryption algorithm in NodeJS and Postgres which will give same output?
What are common encryption algorithm in NodeJS and Postgres which will give same output? I have to encrypt text in NodeJs and decrypt in Postgres query. So need an algorithm that gives the same output in Nodejs and Postgres. I have tried many solutions but no one worked. Any help save my lots of time. Thanks in advanc...
https://stackoverflow.com/questions/78585994/what-are-common-encryption-algorithm-in-nodejs-and-postgres-which-will-give-same
node.js, postgresql, encryption
1,717,669,897
se_64011268
stackoverflow
CYBERSECURITY
Encrypt entire column with pgcrypto
Encrypt entire column with pgcrypto I need to encrypt some columns using AES-256 key, I have checked an official documentation of pgcrypto. But their examples makes me mad. For instance I have database looks like this. id first_name last_name is_active 0 John last_name 1 True ...
https://stackoverflow.com/questions/64011268/encrypt-entire-column-with-pgcrypto
sql, postgresql, encryption, pgcrypto
1,600,782,839
se_78582469
stackoverflow
CYBERSECURITY
Why does the decryptRSA function return seemingly random output?
Why does the decryptRSA function return seemingly random output? Inside of my RSA keygen and encryption/decryption program, the result of decryption is never the same output as the input. I am sure that the gcd(a,b) function and the carmichael(n) functions are working correctly, as is plainToNum(msg), so the issue mus...
https://stackoverflow.com/questions/78582469/why-does-the-decryptrsa-function-return-seemingly-random-output
math, encryption, lua, cryptography, rsa
1,717,606,373
se_78579516
stackoverflow
CYBERSECURITY
Error while decrypting file using PGP decryption in Rails
Error while decrypting file using PGP decryption in Rails I have a client file which is encrypted using PGP encryption. The encrypted file shared is in xlsx format. The PGP private key is also shared as a text file(Note that i added .pgp extension for the private key file). I tried decrypting the file using the below ...
https://stackoverflow.com/questions/78579516/error-while-decrypting-file-using-pgp-decryption-in-rails
ruby-on-rails, ruby, encryption, pgp, gpgme
1,717,574,192
se_78580425
stackoverflow
CYBERSECURITY
Flutter: I get an error while decrypting the file in chunks
Flutter: I get an error while decrypting the file in chunks I have an encrypted file and I want to decrypt it the key and IV is saved in sqflite database and I get it from 'downloadedAudioModel' and then load the decrypted bytes to my audioPlayer I have this function to decrypt and it works fine (But it takes long ti...
https://stackoverflow.com/questions/78580425/flutter-i-get-an-error-while-decrypting-the-file-in-chunks
flutter, dart, asynchronous, encryption, stream
1,717,584,321
se_78580057
stackoverflow
CYBERSECURITY
PHP encrypted Code uploaded in cpanel and changed users passwords to login in cpanel
PHP encrypted Code uploaded in cpanel and changed users passwords to login in cpanel Yesterday i received email, that my cpanel password changed, and contact my Provider and they send me new pass, but today same thing happened. Then i realized something went wrong. so i decided to reset pass and monitor whats going on...
https://stackoverflow.com/questions/78580057/php-encrypted-code-uploaded-in-cpanel-and-changed-users-passwords-to-login-in-cp
php, encryption, cpanel, hidden-files
1,717,580,265
se_78578340
stackoverflow
CYBERSECURITY
Laravel - How to Encrypt and Decrypt Large Files in Chunks?
Laravel - How to Encrypt and Decrypt Large Files in Chunks? I was initially encrypting files directly without using chunks and started encountering an error when trying to encrypt large files: Allowed memory size of 134217728 bytes exhausted After some research, I found out I was making a big mistake by trying to en...
https://stackoverflow.com/questions/78578340/laravel-how-to-encrypt-and-decrypt-large-files-in-chunks
php, laravel, encryption, php-openssl, laravel-encryption
1,717,549,633
se_77995808
stackoverflow
CYBERSECURITY
How to check whether age public key and private key couple with each other
How to check whether age public key and private key couple with each other Age is a practical toos for file encryption, here it is its presentation page: age. With age-keygen, we are going to be able to create a couple of public key and private key together like below: # created: 2024-02-14T17:14:05+01:00 # public key...
https://stackoverflow.com/questions/77995808/how-to-check-whether-age-public-key-and-private-key-couple-with-each-other
encryption, public-key-encryption, private-key, public-key, encryption-symmetric
1,707,927,942
se_78569903
stackoverflow
CYBERSECURITY
How To verify Ascii-Armored data after decryption in PGP using Bouncy Castle?
How To verify Ascii-Armored data after decryption in PGP using Bouncy Castle? I'm relatively new to PGP and bouncy castle. After signing a message, get a ascii-armored data back. Let's assume this ascii-armored data is encrypted and decrypted and waiting for sign verification. Here are my following doubts: Does the A...
https://stackoverflow.com/questions/78569903/how-to-verify-ascii-armored-data-after-decryption-in-pgp-using-bouncy-castle
java, encryption, digital-signature, bouncycastle, pgp
1,717,412,866
se_78571748
stackoverflow
CYBERSECURITY
Encrypt message body using kerberos
Encrypt message body using kerberos How, we would encrypt me message body of the request using kerberos? I have kerberos ticket active. My main goal is to send first request as authentication part and it is ok, i get 200 from the WEC. This is the code i am using: import requests import kerberos def get_kerberos_toke...
https://stackoverflow.com/questions/78571748/encrypt-message-body-using-kerberos
python, encryption, http-post, kerberos
1,717,435,703
se_78567873
stackoverflow
CYBERSECURITY
Why does crypto throw 'ERR_CRYPTO_UNKNOWN_CIPHER' when using AES-KW as encryption algorithm in Electron main process?
Why does crypto throw 'ERR_CRYPTO_UNKNOWN_CIPHER' when using AES-KW as encryption algorithm in Electron main process? I've been developing an app with TIDAL's auth web sdk. In it, they call SubtleCrypto's wrapKey function using parameters nearly identical to those in the example in the MDN docs. const wrapCryp...
https://stackoverflow.com/questions/78567873/why-does-crypto-throw-err-crypto-unknown-cipher-when-using-aes-kw-as-encryptio
node.js, encryption, electron, webcrypto-api
1,717,368,277
se_53269132
stackoverflow
CYBERSECURITY
AES 256 GCM encryption decryption in nodejs
AES 256 GCM encryption decryption in nodejs I am implementing a basic encryption/decryption set of functions in nodejs and I keep getting the following error in the decryption part: Error: Unsupported state or unable to authenticate data This is my code so far: import crypto from 'crypto' import logger from './logge...
https://stackoverflow.com/questions/53269132/aes-256-gcm-encryption-decryption-in-nodejs
encryption, aes, node.js
1,542,049,288
se_78573647
stackoverflow
CYBERSECURITY
How can I decrypt TLS packets using the output of the SSL key log file in Go?
How can I decrypt TLS packets using the output of the SSL key log file in Go? I am making https requests and logging the keys in using the SSLKEYLOGFILE environment variable. If I capture the packets using Wireshark, I can decrypt the packets by specifying the path of the key log file. I have another Go program that i...
https://stackoverflow.com/questions/78573647/how-can-i-decrypt-tls-packets-using-the-output-of-the-ssl-key-log-file-in-go
go, ssl, encryption, pcap, tls1.3
1,717,482,092
se_67574726
stackoverflow
CYBERSECURITY
Generating AES IV from Rfc2898DeriveBytes
Generating AES IV from Rfc2898DeriveBytes I am using Rfc2898DeriveBytes to generate an AES key and iv. However, I heard that the iv should not be dependent on the password. Here's how I'm doing it right now: byte[] salt = GenerateRandomBytes(32); // Generates 32 random bytes using (Rfc2898DeriveBytes rfc = new Rfc2898...
https://stackoverflow.com/questions/67574726/generating-aes-iv-from-rfc2898derivebytes
c#, security, encryption, aes
1,621,273,989
se_78557881
stackoverflow
CYBERSECURITY
Microsoft.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near '@certificateName'
Microsoft.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near '@certificateName' I'm trying to encrypt my SQL Server database backup using certificate name in C#, but I'm encountering issues. Here is the code that works with a hardcoded certificate name: string encryptionClause = ", ENCRYPTION(ALGO...
https://stackoverflow.com/questions/78557881/microsoft-data-sqlclient-sqlexception-0x80131904-incorrect-syntax-near-cert
c#, sql-server, encryption, backup
1,717,123,000
se_78571988
stackoverflow
CYBERSECURITY
How do I use Rfc2898DeriveBytes in a symmetric algorithm?
How do I use Rfc2898DeriveBytes in a symmetric algorithm? I have created a stream that takes a plaintext input stream, and it's read method will return cypertext based on the input stream; I've been reading that it is recommended to use the Rfc2898DeriveBytes class to generate the key, but I'm not confident on the cor...
https://stackoverflow.com/questions/78571988/how-do-i-use-rfc2898derivebytes-in-a-symmetric-algorithm
.net, encryption, aes, encryption-symmetric
1,717,439,420
se_52081345
stackoverflow
CYBERSECURITY
How to determine if PDF is encrypted javascript client side
How to determine if PDF is encrypted javascript client side Need to determine if if pdf uploaded by user is password protected without using external libs. So far got this POC. Any one know cases when this might not work? <input type='file' onchange='openFile(event)'><br> <script> var openFile = function (event)...
https://stackoverflow.com/questions/52081345/how-to-determine-if-pdf-is-encrypted-javascript-client-side
javascript, pdf, encryption, passwords
1,535,557,122
se_77598330
stackoverflow
CYBERSECURITY
PowerShell ProtectedData.Unprotect Fails in Console but Works in ISE
PowerShell ProtectedData.Unprotect Fails in Console but Works in ISE Im trying to encrypt and decrypt passwords, i've made 2 functions: function VA-EncryptPassword { param( [Parameter(Mandatory=$true)] [string]$PlainPassword ) # Add assembly for security Add-Type -AssemblyName "System....
https://stackoverflow.com/questions/77598330/powershell-protecteddata-unprotect-fails-in-console-but-works-in-ise
powershell, encryption, cryptography, system.security
1,701,681,704
se_78569198
stackoverflow
CYBERSECURITY
How to decrypt Antiforgery token using the decryption key
How to decrypt Antiforgery token using the decryption key Is there a way to decrypt in asp.net core application an antiforgery token if I have the decryption key. In my asp.net mvc I added manually then machine key section like this: <machineKey validationKey="..." decryptionKey="..." validation="SHA1" ...
https://stackoverflow.com/questions/78569198/how-to-decrypt-antiforgery-token-using-the-decryption-key
asp.net-mvc, asp.net-core, encryption, antiforgerytoken
1,717,403,576
se_78566408
stackoverflow
CYBERSECURITY
Unable to decrypt JWE Token from Python jwcrypt to NodeJS jose
Unable to decrypt JWE Token from Python jwcrypt to NodeJS jose I am unable to decrypt a JWE Token generated by jwcrypt (Python library for JWE Encryption and Decryption) to jose (Javascript library for JWE Encryption and Decryption) I have explicitly defined the A256KW and A256CBC-HS512 on both jwcrypt and jose as wel...
https://stackoverflow.com/questions/78566408/unable-to-decrypt-jwe-token-from-python-jwcrypt-to-nodejs-jose
javascript, python, node.js, encryption, jwe
1,717,331,312
se_78566574
stackoverflow
CYBERSECURITY
Decrypt crypted as aes-256-ctr string in JS using Flutter dart
Decrypt crypted as aes-256-ctr string in JS using Flutter dart I have NestJS api which crypt and decrypt string with next code export const encryptIV = async (data:string)=>{ try{ const iv = Buffer.from('q2Q@w3W#').toString('hex'); const secretKey = 'H4WtkvK4qyehIe2kjQfH7we1xIHFK67e'; const...
https://stackoverflow.com/questions/78566574/decrypt-crypted-as-aes-256-ctr-string-in-js-using-flutter-dart
flutter, dart, encryption, nestjs
1,717,335,143
se_78566595
stackoverflow
CYBERSECURITY
Having a hard time displaying output from an API
Having a hard time displaying output from an API I'm learning how to use openssl and learn more about it. I wrote a very short line of codes which AES encrypts plaintext and display the output as ciphered text. I had no idea how to display its encrypted plaintext. #include <openssl/evp.h> #include <openssl/rand.h> #in...
https://stackoverflow.com/questions/78566595/having-a-hard-time-displaying-output-from-an-api
c, algorithm, encryption, aes, encryption-symmetric
1,717,335,582
se_78564237
stackoverflow
CYBERSECURITY
Encrypting/Decrypting (Reading a string and changing the string with certain characters)
Encrypting/Decrypting (Reading a string and changing the string with certain characters) I've been learning C and i decided to start a project, Encrypt and Decrypt in ROT13 since i just tought it was the easiest to start with. I cant seem to figure a way to read the string and change the characters acording to ROT13, ...
https://stackoverflow.com/questions/78564237/encrypting-decrypting-reading-a-string-and-changing-the-string-with-certain-cha
c, encryption
1,717,256,877
se_69749598
stackoverflow
CYBERSECURITY
How to disable &quot;ioncube&quot; from cpanel?
How to disable &quot;ioncube&quot; from cpanel? I'm facing an issue to disable the ioncude encryption from my Laravel PHP code from Cpanel. I unchecked ioncube from WHM simply accessing the Home > Server Configuration > Tweek settings and then in the PHP section as shown below. I don't know what's wrong with it becau...
https://stackoverflow.com/questions/69749598/how-to-disable-ioncube-from-cpanel
php, laravel, encryption, cpanel, ioncube
1,635,404,657
se_55246325
stackoverflow
CYBERSECURITY
Using python-gnupg to decrypt file encrypted with gpg
Using python-gnupg to decrypt file encrypted with gpg I have a process that is creating a symmetrically encrypted file with gpg: gpg --batch --passphrase=mypassphrase -c configure.txt I can decrypt the encrypted file using gpg just fine with any user so long as I have the passphrase. This is as expected on this end...
https://stackoverflow.com/questions/55246325/using-python-gnupg-to-decrypt-file-encrypted-with-gpg
python, encryption, cryptography, gnupg
1,553,014,671
se_78559810
stackoverflow
CYBERSECURITY
How to decrypt SMIME encrypted outlook msg files in openssl using localstore certificates
How to decrypt SMIME encrypted outlook msg files in openssl using localstore certificates I'm trying to figure out how to script such scenario: I got outlook msg files (one msg in one file) encrypted using PKI certtificates PKI certificates are stored in Cert:\CurrentUser\My\ - I got private keys (Windows OS) I've tr...
https://stackoverflow.com/questions/78559810/how-to-decrypt-smime-encrypted-outlook-msg-files-in-openssl-using-localstore-cer
encryption, smime, msg
1,717,155,165
se_34304570
stackoverflow
CYBERSECURITY
How to resolve the &quot;EVP_DecryptFInal_ex: bad decrypt&quot; during file decryption
How to resolve the &quot;EVP_DecryptFInal_ex: bad decrypt&quot; during file decryption I have the following query.Could any one please suggest me a solution. I'm working on encryption and decryption of file for first time. I have encrypted file through command prompt using the command: openssl enc -aes-256-cbc -in ...
https://stackoverflow.com/questions/34304570/how-to-resolve-the-evp-decryptfinal-ex-bad-decrypt-during-file-decryption
c, encryption, openssl
1,450,243,822
se_78552542
stackoverflow
CYBERSECURITY
How to decrypt a key encrypted using the sodium R package in python?
How to decrypt a key encrypted using the sodium R package in python? I have he following R functions that use the sodium R package to encrypt and decrypt an access key with a password: encrypt_access_key <- function(access_key, password) { key <- sha256(charToRaw(password)) nonce <- random(24) # Generate a random...
https://stackoverflow.com/questions/78552542/how-to-decrypt-a-key-encrypted-using-the-sodium-r-package-in-python
python, r, encryption
1,717,033,182
se_78555412
stackoverflow
CYBERSECURITY
How can I generate an AES secret key using window.crypto in javascript and use it to encrypt the message
How can I generate an AES secret key using window.crypto in javascript and use it to encrypt the message I am trying to generate an AES-CBC scratch key to encrypt messages. Here is the code to generate and retrieve the key: const key = await crypto.subtle.generateKey( { name: "AES-CBC", length: 256, ...
https://stackoverflow.com/questions/78555412/how-can-i-generate-an-aes-secret-key-using-window-crypto-in-javascript-and-use-i
javascript, encryption, cryptography, aes
1,717,076,988
se_78553808
stackoverflow
CYBERSECURITY
Encrypting Variables in Airflow
Encrypting Variables in Airflow Is there a way for me to encrypt these JSON files in Airflow? Specifically, to change the values in the "Is Encrypted" column from False to True. Thanks a lot I have tried searching for information in the Airflow documentation. It is related to the FERNET_KEY, but I do not know the spec...
https://stackoverflow.com/questions/78553808/encrypting-variables-in-airflow
encryption, airflow
1,717,057,964
se_78557229
stackoverflow
CYBERSECURITY
Parquet encryption using Spark
Parquet encryption using Spark I am trying to encrypt parquet files using envelope encryption. I created RSA keys in Oracle Cloud Infrastructure (OCI) KMS. I am using spark parquet to encrypt/decrypt files but I am running into following error while decrypting: py4j.protocol.Py4JJavaError: An error occurred while call...
https://stackoverflow.com/questions/78557229/parquet-encryption-using-spark
apache-spark, pyspark, encryption, parquet, oracle-cloud-infrastructure
1,717,102,764
se_13905428
stackoverflow
CYBERSECURITY
SQL Server TDE - how to tell when complete?
SQL Server TDE - how to tell when complete? Is there a way to tell when a database is completely encrypted when using SQL 2008 TDE? I.e., ALTER DATABASE mydb SET ENCRYPTION ON The only way I can think of is to keep trying to detach mydb. It won't detach until all pages are encrypted. However, I'd like to have a cle...
https://stackoverflow.com/questions/13905428/sql-server-tde-how-to-tell-when-complete
sql-server-2008, encryption, tde
1,355,691,534
se_78556766
stackoverflow
CYBERSECURITY
PHP Sodium Encryption/Decryption Fails Despite Consistent Configuration and Keys
PHP Sodium Encryption/Decryption Fails Despite Consistent Configuration and Keys I'm experiencing an issue with PHP Sodium encryption and decryption. Despite ensuring that the keys, configuration, and environments are consistent, decryption consistently fails. PHP Version 8.2 Sodium + OpenSSL enabled on fpm config, le...
https://stackoverflow.com/questions/78556766/php-sodium-encryption-decryption-fails-despite-consistent-configuration-and-keys
php, encryption, php-openssl, libsodium
1,717,094,762
se_78549657
stackoverflow
CYBERSECURITY
How do you protect the salt in Cordova vue?
How do you protect the salt in Cordova vue? I have an app made on view, it generates crypto wallet addresses. The user from can retrieve them with a mnemonic phrase. Clearly, I encrypt all this with standard methods, mnemonic phrase + password + user pincode. But I also want to add the salt of the application that wor...
https://stackoverflow.com/questions/78549657/how-do-you-protect-the-salt-in-cordova-vue
vue.js, cordova, security, encryption, cryptography
1,716,987,058
se_78096793
stackoverflow
CYBERSECURITY
Web Crypto API decryption failing with RSA-OAEP
Web Crypto API decryption failing with RSA-OAEP I have generated a private key as follows: openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048 openssl rsa -pubout -in private_key.pem -out public_key.pem openssl pkcs8 -topk8 -inform PEM -outform PEM -in private_key.pem -out private_key_p...
https://stackoverflow.com/questions/78096793/web-crypto-api-decryption-failing-with-rsa-oaep
javascript, ssl, encryption, openssl, webcrypto-api
1,709,477,924
se_77181721
stackoverflow
CYBERSECURITY
How to export existing keys from ProtectToolKit 7 (Thales) and import them to AWS CloudHSM?
How to export existing keys from ProtectToolKit 7 (Thales) and import them to AWS CloudHSM? I have an existing system that uses HSM and Thales ProtectToolKit 7 (HSM Client) on-premises and would like to migrate it to AWS CloudHSM. How can I export existing keys from Thales ProtectToolKit 7 and import them into AWS Clo...
https://stackoverflow.com/questions/77181721/how-to-export-existing-keys-from-protecttoolkit-7-thales-and-import-them-to-aw
encryption, hardware-security-module, amazon-cloudhsm
1,695,744,570
se_78552422
stackoverflow
CYBERSECURITY
Random Unicode characters being added to start of file after encryption/decryption
Random Unicode characters being added to start of file after encryption/decryption As per the title, not sure what I'm doing wrong. Using the pgpy Python module to encrypt/decrypt with 2048 bit RSA keypair, and consistently getting '' added to the start of the csv file. After encryption and decryption, the first ro...
https://stackoverflow.com/questions/78552422/random-unicode-characters-being-added-to-start-of-file-after-encryption-decrypti
python, python-3.x, encryption, pgp
1,717,029,626
se_74223770
stackoverflow
CYBERSECURITY
How to get rid of the original file path instead of name in PGP encryption with ChoPGP library?
How to get rid of the original file path instead of name in PGP encryption with ChoPGP library? I tried PGP encrypting a file in ChoPGP library. At the end of the process it shows embedded file name along with the whole original file name path. But I thought it will show only the filename without the whole path. Which...
https://stackoverflow.com/questions/74223770/how-to-get-rid-of-the-original-file-path-instead-of-name-in-pgp-encryption-with
encryption, bouncycastle, gnupg, pgp, openpgp
1,666,880,946
se_78353673
stackoverflow
CYBERSECURITY
ObjectInputStream Stuck at Initialization when creating one on both Client and Server
ObjectInputStream Stuck at Initialization when creating one on both Client and Server ObjectInputStream will initialize just fine when only creating an ObjectInputStream on the Client Side and an ObjectOutputStream on the server side, but when then creating the ObjectInputStream on the Server side, the execution just ...
https://stackoverflow.com/questions/78353673/objectinputstream-stuck-at-initialization-when-creating-one-on-both-client-and-s
java, sockets, encryption, java-io, objectoutputstream
1,713,529,888
se_76784169
stackoverflow
CYBERSECURITY
De-encrypt a Minecraft packet sent from Minecraft server. Python. Problems with unknown packet length
De-encrypt a Minecraft packet sent from Minecraft server. Python. Problems with unknown packet length I have a Python program that logs into an online Minecraft server. This includes getting set up with Azure and getting access with authentication with Microsoft. Ect. I got it to the point where I can send the login p...
https://stackoverflow.com/questions/76784169/de-encrypt-a-minecraft-packet-sent-from-minecraft-server-python-problems-with
python, encryption, minecraft
1,690,503,872
se_63593747
stackoverflow
CYBERSECURITY
remove or append a kexalgorithms or a hostkeyalgorithms in &quot;/etc/ssh/sshd_config&quot;
remove or append a kexalgorithms or a hostkeyalgorithms in &quot;/etc/ssh/sshd_config&quot; I need to modify the default list of kexalgorithms or a hostkeyalgorithms in "/etc/ssh/sshd_config" by explicitly mentioning both the not required algos as well as the required ones. http://manpages.ubuntu.com/manpages/bionic/m...
https://stackoverflow.com/questions/63593747/remove-or-append-a-kexalgorithms-or-a-hostkeyalgorithms-in-etc-ssh-sshd-config
linux, encryption, sshd
1,598,430,995
se_78364637
stackoverflow
CYBERSECURITY
How could I use BiometricAuthentication in MAUI?
How could I use BiometricAuthentication in MAUI? Note. This question only refers to Android, for now. I will leave IOs for a later date. I have the following situation in MAUI (which means C# in Visual Studio). I need to allow fingerprint authentication. Using the library "Plugin.Fingerprint" I can, of course, show th...
https://stackoverflow.com/questions/78364637/how-could-i-use-biometricauthentication-in-maui
android, encryption, storage, maui, biometrics
1,713,771,540
se_7539984
stackoverflow
CYBERSECURITY
Asymmetric cryptography example in C#
Asymmetric cryptography example in C# I need to send confidential data to a server over a TCP connection. I have done a lot of researching and I understand the theoretical part. Based on what I have researched I want to do the following: Note there is a server and a client: (we assume that public keys of either the c...
https://stackoverflow.com/questions/7539984/asymmetric-cryptography-example-in-c
c#, encryption, cryptography
1,316,878,424
se_78544145
stackoverflow
CYBERSECURITY
Is there any way to use a stream cipher algorithm(ChaCha20, RC4...) to encrypt a video while still be able to play and stream the encrypted video?
Is there any way to use a stream cipher algorithm(ChaCha20, RC4...) to encrypt a video while still be able to play and stream the encrypted video? I'm having a project that requires using a stream cipher (ChaCha20 for example) to encrypt a video and i want to transfer the encrypted video using ffmpeg so that the rece...
https://stackoverflow.com/questions/78544145/is-there-any-way-to-use-a-stream-cipher-algorithmchacha20-rc4-to-encrypt-a
python, encryption, video, cryptography
1,716,899,773
se_55788823
stackoverflow
CYBERSECURITY
How to decrypt password from encrypted password
How to decrypt password from encrypted password Currently we are encrypting the passwords entered by the user from login page and store them in the Database. Here am developing a new login page for internal purpose and reusing the same username and encrypted password. If user is authorised, then will allow him to acce...
https://stackoverflow.com/questions/55788823/how-to-decrypt-password-from-encrypted-password
java, encryption, cryptography, secret-key
1,555,904,087
se_27804238
stackoverflow
CYBERSECURITY
Incorrect parameter count in the call to native function &#39;aes_decrypt&#39;
Incorrect parameter count in the call to native function &#39;aes_decrypt&#39; I am trying to move our encryption from Code to the database to speed things up. When I attempt to decrypt the information using this select statement I get an incorrect parameter count error. SELECT AES_DECRYPT(u.strFirstName,'usa2010') ...
https://stackoverflow.com/questions/27804238/incorrect-parameter-count-in-the-call-to-native-function-aes-decrypt
mysql, vb.net, encryption
1,420,566,554
se_78530130
stackoverflow
CYBERSECURITY
Storing a Synchronous Encryption Key securely on the Clientside
Storing a Synchronous Encryption Key securely on the Clientside I am building a web app which uses Sign in with Apple for the normal authorization and login. After signup the user should create a passphrase which is enhanced via a KDF and acts as a symmetrical key for encrypting all sensible data. Normal operation sho...
https://stackoverflow.com/questions/78530130/storing-a-synchronous-encryption-key-securely-on-the-clientside
security, encryption, browser, client-side, privacy
1,716,574,652
se_78538042
stackoverflow
CYBERSECURITY
Flutter Range Error: value not in range: -16
Flutter Range Error: value not in range: -16 when I was using Flutter's encrypt: ^5.0.3 dependence to encrypt and decrypt string data, I encountered the occasional unsolvable RangeError in release mode: RangeError: Value not in range: -16 Here is my code: import 'package:encrypt/encrypt.dart' as encrypt; class Encry...
https://stackoverflow.com/questions/78538042/flutter-range-error-value-not-in-range-16
flutter, encryption, range
1,716,799,529
se_42370737
stackoverflow
CYBERSECURITY
Why services need an application ID, API key and API secret?
Why services need an application ID, API key and API secret? I am trying to understand why services (like - but not limited to - Cloudinary) need an Application ID, API Key and an API Secret: cloudinary.config({ cloud_name: 'sample', // basically an application ID api_key: 'XXXX', api_secret: 'XXXX' }) My u...
https://stackoverflow.com/questions/42370737/why-services-need-an-application-id-api-key-and-api-secret
security, encryption, cloudinary
1,487,689,017
se_36958748
stackoverflow
CYBERSECURITY
How to encrypt a variable with the cryptography module?
How to encrypt a variable with the cryptography module? I'm not sure if any of you are familiar with the cryptography module, but I'm trying to encrypt a variable that stands for a string. For example: string = input('String here') The example they give on the module page is: from cryptography.fernet import Fern...
https://stackoverflow.com/questions/36958748/how-to-encrypt-a-variable-with-the-cryptography-module
python, encryption, module, cryptography
1,462,041,548
se_78536479
stackoverflow
CYBERSECURITY
Dealing with custom encryption in laravel on some columns in database and get data by &#39;where&#39; clause
Dealing with custom encryption in laravel on some columns in database and get data by &#39;where&#39; clause I have a table that one of its column should have encrypted data. I have custom encryption functions in laravel for this purpose. In related model, I use these functions to encrypt and decrypt data while readin...
https://stackoverflow.com/questions/78536479/dealing-with-custom-encryption-in-laravel-on-some-columns-in-database-and-get-da
laravel, encryption
1,716,757,485
se_78532648
stackoverflow
CYBERSECURITY
AES Encryption and \decryption in android
AES Encryption and \decryption in android I have a sign in API in which API provide a secret key in decrypt form like below to further used in different types of APIs for data fetching. I have to decrypt it for use case. "secretAccessKey": { "ciphertext": { "words": [ -11211163938, 15677252277, 14825332397, 8644425824...
https://stackoverflow.com/questions/78532648/aes-encryption-and-decryption-in-android
java, android, encryption, aes
1,716,644,431
se_5517687
stackoverflow
CYBERSECURITY
RSA trick in email reply
RSA trick in email reply A uses RSA encryption for her email. B finds an encrypted email to A: c = m^e mod n that he wants to know the plain text. B knows that when A replies to her email, she always includes the text of the message she is responding to in the reply. Assume A only receives messages that are bit string...
https://stackoverflow.com/questions/5517687/rsa-trick-in-email-reply
encryption, rsa, public-key, public-key-encryption
1,301,684,592
se_78524775
stackoverflow
CYBERSECURITY
AES-128-ECB decryption &quot;fails&quot; due to padding after migrating from OpenSSL 1.0.2b to 3.3.0
AES-128-ECB decryption &quot;fails&quot; due to padding after migrating from OpenSSL 1.0.2b to 3.3.0 I have a test program that works when linking to OpenSSL 1.0.2b but fails with OpenSSL 3.0.0 and OpenSSL 3.3.0. I believe the issue is on the encryption side because the decryption programmatically succeeds (returns no...
https://stackoverflow.com/questions/78524775/aes-128-ecb-decryption-fails-due-to-padding-after-migrating-from-openssl-1-0-2
c++, encryption, openssl, padding
1,716,486,359
se_78527843
stackoverflow
CYBERSECURITY
DES3 encryption result on python is different from des-ede3-cbc result of php
DES3 encryption result on python is different from des-ede3-cbc result of php PHP code // php 8.1.13 $text = '1'; $key = base64_decode('3pKtqxNOolyBoJouXWwVYw=='); $iv = base64_decode('O99EDNAif90='); $encrypted = openssl_encrypt($text, 'des-ede3-cbc', $key, OPENSSL_RAW_DATA, $iv); $hex = strtoupper(bin2hex($encrypted...
https://stackoverflow.com/questions/78527843/des3-encryption-result-on-python-is-different-from-des-ede3-cbc-result-of-php
python, encryption, 3des
1,716,545,159
se_78526100
stackoverflow
CYBERSECURITY
Python RSA Encryption - Using Private Key to Encrypt and Public to Decrypt
Python RSA Encryption - Using Private Key to Encrypt and Public to Decrypt I am working on creating a license key validation server that unlocks a piece of software. The C++ framework I am using, for the client, has built in functionality that allows the server to send back a POST response with an RSA encrypted messag...
https://stackoverflow.com/questions/78526100/python-rsa-encryption-using-private-key-to-encrypt-and-public-to-decrypt
python, encryption, rsa
1,716,513,212
se_78522514
stackoverflow
CYBERSECURITY
unable to decode encrypted bytes data stored in db
unable to decode encrypted bytes data stored in db I have written 2 functions in python, one for encrypting data and other for decrypting data which are as follows. from app.settings import DATA_KEY import logging from cryptography.hazmat.primitives.ciphers.aead import AESSIV import base64 cipher_suite = AESSIV(DATA_...
https://stackoverflow.com/questions/78522514/unable-to-decode-encrypted-bytes-data-stored-in-db
python, django, encryption
1,716,460,498
se_72330470
stackoverflow
CYBERSECURITY
Is it a good idea to store an encryption key as an environment variable?
Is it a good idea to store an encryption key as an environment variable? I am writing a command-line application in Python 3. The app will be run by different users on their local machines. Some parts of the application require to login to a database. I want to give the users the choice to store their credentials or t...
https://stackoverflow.com/questions/72330470/is-it-a-good-idea-to-store-an-encryption-key-as-an-environment-variable
python, python-3.x, encryption, environment-variables
1,653,143,392
se_78512364
stackoverflow
CYBERSECURITY
Encoded script to executed
Encoded script to executed I am trying to code a script so that it is not readable at a glance, I am performing the following steps: $expression = Get-Content -Path .\backupsql_v1.0.ps1 -Raw $bytes = [System.Text.Encoding]::Unicode.GetBytes($expression) $b64 = [System.Convert]::ToBase64String($bytes) Write-Debug "Base...
https://stackoverflow.com/questions/78512364/encoded-script-to-executed
powershell, encryption
1,716,299,710
se_78509963
stackoverflow
CYBERSECURITY
How to determine what causes a SSL handshake failure
How to determine what causes a SSL handshake failure Update: PCAP file: https://fastupload.io/0362cd55628fb281 I have an application built in 2017 that uses OpenSSL 1.0.1h (file named ssleay32.dll). I have a new version of this application that uses a recent (within the last year) version of curl instead. The old appl...
https://stackoverflow.com/questions/78509963/how-to-determine-what-causes-a-ssl-handshake-failure
ssl, encryption, openssl, wireshark, handshake
1,716,272,434
se_38708513
stackoverflow
CYBERSECURITY
Is it better to store encryption keys, or to regenerate them every time?
Is it better to store encryption keys, or to regenerate them every time? I'm currently studying web security, purely on my own, to expand my skillset going forward in my career. I've been studying different encryption techniques, how best to employ them, etc. The current situation I'm thinking about involves a multi-t...
https://stackoverflow.com/questions/38708513/is-it-better-to-store-encryption-keys-or-to-regenerate-them-every-time
encryption
1,470,087,396
se_75814512
stackoverflow
CYBERSECURITY
play encrypted movies in vlc by decrypting them by ffmpeg &quot;on the fly&quot;
play encrypted movies in vlc by decrypting them by ffmpeg &quot;on the fly&quot; I would like to play encrypted movies in vlc by decrypting them by ffmpeg like below on macOS. The size of my movie is, say, 200-1000MB. (hundreds of files) My problem is that it is too slow to decrypt; it takes 5mins for 300MB movie befo...
https://stackoverflow.com/questions/75814512/play-encrypted-movies-in-vlc-by-decrypting-them-by-ffmpeg-on-the-fly
macos, encryption, ffmpeg, vlc, on-the-fly
1,679,500,242
se_78499884
stackoverflow
CYBERSECURITY
How can UserName’s ProtectedPersonalData attribute be overridden in ASP.NET Core Identity?
How can UserName’s ProtectedPersonalData attribute be overridden in ASP.NET Core Identity? I’m using ASP.NET Core Identity in a Blazor project. I’d like to encrypt the user’s personal data, however, I don’t want to encrypt the UserName. My plan is to use the UserName as an account id rather than the user’s name. The u...
https://stackoverflow.com/questions/78499884/how-can-username-s-protectedpersonaldata-attribute-be-overridden-in-asp-net-core
c#, encryption, blazor, asp.net-identity
1,716,039,079
se_78496438
stackoverflow
CYBERSECURITY
Struggling with TEA Algorithm in Assembly 8086 TASM
Struggling with TEA Algorithm in Assembly 8086 TASM I’m attempting to implement the TEA algorithm in assembly language (8086 TASM). However, I’m encountering difficulties in two areas String Input: I need assistance in implementing a mechanism to input strings from the user within my assembly program. Hexadecimal Co...
https://stackoverflow.com/questions/78496438/struggling-with-tea-algorithm-in-assembly-8086-tasm
algorithm, assembly, encryption, ascii, tasm
1,715,957,767
se_78505558
stackoverflow
CYBERSECURITY
Encryption in C++ using Openssl and decryption using CryptoJs in Nodejs
Encryption in C++ using Openssl and decryption using CryptoJs in Nodejs I have this code where the secret_key is of 32 length, cipherText variable will have the encrypted data which need to be decoded const secret_key = "Whispersofthewindechoedthroughth"; const decryptData = (cipherText) => { const bytes = Crypto...
https://stackoverflow.com/questions/78505558/encryption-in-c-using-openssl-and-decryption-using-cryptojs-in-nodejs
c++, node.js, encryption, openssl, cryptojs
1,716,194,537
se_78505260
stackoverflow
CYBERSECURITY
Django trying to encrypt fields when creating database and retrieveing them in decrypted form, how can I achieve this?
Django trying to encrypt fields when creating database and retrieveing them in decrypted form, how can I achieve this? I am working on a django project where I need to store data inside some columns in an encrypted format and decrypt it on the fly whenever querying the said data. I have managed to encrypt the data whi...
https://stackoverflow.com/questions/78505260/django-trying-to-encrypt-fields-when-creating-database-and-retrieveing-them-in-d
django, django-models, encryption, django-rest-framework
1,716,190,337
se_78503871
stackoverflow
CYBERSECURITY
File encryption emits warning &quot;CA5401: Do not use CreateEncryptor with non-default IV&quot;
File encryption emits warning &quot;CA5401: Do not use CreateEncryptor with non-default IV&quot; I'm trying to compress and encrypt a directory with a user-provided password using the following code: using var aes = Aes.Create(); using var pbkdf2 = new Rfc2898DeriveBytes(Encoding.UTF8.GetBytes(pwd), Encoding.UTF8.GetB...
https://stackoverflow.com/questions/78503871/file-encryption-emits-warning-ca5401-do-not-use-createencryptor-with-non-defau
c#, encryption
1,716,151,043
se_78503108
stackoverflow
CYBERSECURITY
How to convert python integers to a pairing element in group in Charm-Crypto?
How to convert python integers to a pairing element in group in Charm-Crypto? In the documentation of the charm-crypto library, in the implemented schemes there is often a paragraph like this: ` groupObj = PairingGroup('SS512') k = groupObj.random(GT) where k is the <pairing.Element> data to be encrypted. How can I...
https://stackoverflow.com/questions/78503108/how-to-convert-python-integers-to-a-pairing-element-in-group-in-charm-crypto
python, encryption, cryptography, integer, charm-crypto
1,716,133,284
se_78496682
stackoverflow
CYBERSECURITY
Is Swift RSA Key Generation different to other platforms?
Is Swift RSA Key Generation different to other platforms? Main issue We're implementing RSA key generation that is required for use with an external API. The RSA public key needs to be sent to the external API, who will encrypt some text, return it and we can then decrypt it. We've tried implementing this in 3 solutio...
https://stackoverflow.com/questions/78496682/is-swift-rsa-key-generation-different-to-other-platforms
ios, swift, encryption, cryptography, rsa
1,715,960,775
se_78497730
stackoverflow
CYBERSECURITY
RC4 windows api decryption function works in c++ but not in golang
RC4 windows api decryption function works in c++ but not in golang I am using the windows api SystemFunction033 from advapi32.dll to do RC4 decryption/encryption. My problem is, i want to port my working c++ code to golang, but the golang code does not work. I dont get the right result and i think, i maybe wrongly use...
https://stackoverflow.com/questions/78497730/rc4-windows-api-decryption-function-works-in-c-but-not-in-golang
c++, c, go, encryption
1,715,976,165
se_78488647
stackoverflow
CYBERSECURITY
python jwe.decrypt c# equivalent?
python jwe.decrypt c# equivalent? I'm trying to decrypt a jwt token in .Net 6 without success. DecriptionKey is PEM-encoded private key, something like this -----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY-----" what is the .net6 equivalent for this python code, that easily do the job? from jose i...
https://stackoverflow.com/questions/78488647/python-jwe-decrypt-c-equivalent
python, c#, encryption, cryptography, python-jose
1,715,849,425
se_61413922
stackoverflow
CYBERSECURITY
Javascript decrypt key with RSA Public Key
Javascript decrypt key with RSA Public Key Hi StackOverFlow Community. First of all, its not a typo. Yup, I want to decrypt a hash message with the RSA Public Key. In my application, during login, the backend service will return me a RSA Public Key and I store it to decrypt the message in the future. The backend serv...
https://stackoverflow.com/questions/61413922/javascript-decrypt-key-with-rsa-public-key
javascript, encryption, cryptography, rsa, cryptojs
1,587,748,859
se_59345650
stackoverflow
CYBERSECURITY
crypto-js output is different from node crypto
crypto-js output is different from node crypto We are trying to match the crypto and crypto-js output. Our requirement is to encrypt string in browser but crypto will not support browser side encryption. So, we are trying to match the output using crypto-js. Each time crypto-js produces different output. const crypto...
https://stackoverflow.com/questions/59345650/crypto-js-output-is-different-from-node-crypto
javascript, node.js, encryption, cryptography, cryptojs
1,576,426,240
se_78487597
stackoverflow
CYBERSECURITY
Getting org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class when trying to run Spring boot 3.2.4 app
Getting org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class when trying to run Spring boot 3.2.4 app I am working on spring boot 3.2.4 application and I have placed ciphertext in application.properties file and to decrypt it I have added below mentioned dependency in pom.xml ...
https://stackoverflow.com/questions/78487597/getting-org-springframework-cloud-autoconfigure-configurationpropertiesrebindera
java, spring, spring-boot, spring-mvc, encryption
1,715,834,735
se_890889
stackoverflow
CYBERSECURITY
How can I create a self-contained encrypted file on Linux?
How can I create a self-contained encrypted file on Linux? I recently went through this little noob adventure on a Linux desktop: Take a text file with sensitive info PGP-encrypt it (e.g. with Seahorse) Back it up Reinstall OS, erase hard drive, drop computer in pool, etc, etc Retrieve the encrypted file from backup...
https://stackoverflow.com/questions/890889/how-can-i-create-a-self-contained-encrypted-file-on-linux
linux, encryption, pgp
1,242,865,608
se_77857534
stackoverflow
CYBERSECURITY
What is eciesEncryptionCofactorVariableIVX963SHA512AESGCM in iOS SecKeyCreateEncryptedData?
What is eciesEncryptionCofactorVariableIVX963SHA512AESGCM in iOS SecKeyCreateEncryptedData? I am looking at this answer: https://stackoverflow.com/a/53807793/1634905 When using Elliptic Curve key pair, it has the following: private let keyType = kSecAttrKeyTypeECSECPrimeRandom // kSecAttrKeyTypeECSECPrimeRandom privat...
https://stackoverflow.com/questions/77857534/what-is-eciesencryptioncofactorvariableivx963sha512aesgcm-in-ios-seckeycreateenc
ios, security, encryption, cryptography, elliptic-curve
1,705,894,896
se_78484530
stackoverflow
CYBERSECURITY
Securing some EXE applications within MSI Installer - which approach - Encryption or Separate MSI packages?
Securing some EXE applications within MSI Installer - which approach - Encryption or Separate MSI packages? Current setup: Lots of .exe (and other files) are packaged inside an MSI installer (using WIX) which installs the exe files in ProgramFiles directory. Bootstrapper exe is normally used (it installs prerequistes)...
https://stackoverflow.com/questions/78484530/securing-some-exe-applications-within-msi-installer-which-approach-encryptio
security, encryption, windows-installer
1,715,782,137
se_78358988
stackoverflow
CYBERSECURITY
How to set up encryption in direct messages from dart matrix bot?
How to set up encryption in direct messages from dart matrix bot? i use the https://github.com/famedly/matrix-dart-sdk with quite opaque documentation (at least for me)... i am writing a bridge between a home appliance and matrix. I managed to set up the system to communicate with non encrypted rooms. Now i want to be...
https://stackoverflow.com/questions/78358988/how-to-set-up-encryption-in-direct-messages-from-dart-matrix-bot
dart, matrix, encryption
1,713,631,322
se_78484365
stackoverflow
CYBERSECURITY
How to disable CBC Cipher Suite when making an API call in C# with HttpWebRequest
How to disable CBC Cipher Suite when making an API call in C# with HttpWebRequest I'm making an API call as per the below code snippet: if (ServicePointManager.SecurityProtocol.HasFlag(SecurityProtocolType.Tls12) == false) { ServicePointManager.SecurityProtocol = ServicePointManager.SecurityProtocol || SecurityProt...
https://stackoverflow.com/questions/78484365/how-to-disable-cbc-cipher-suite-when-making-an-api-call-in-c-with-httpwebreques
c#, encryption
1,715,780,375
se_78477943
stackoverflow
CYBERSECURITY
How can my web api decrypt a password, that was prevously encrypted in a console application, using DPAPI?
How can my web api decrypt a password, that was prevously encrypted in a console application, using DPAPI? I have to store user credentials in a web api somewhere. I decided I create a console application in the solution, next to the Web API, that encrypts the data, and writes it to the web api's appsettings.json. Her...
https://stackoverflow.com/questions/78477943/how-can-my-web-api-decrypt-a-password-that-was-prevously-encrypted-in-a-console
asp.net-core, encryption, .net-6.0, dpapi
1,715,688,040
se_78479616
stackoverflow
CYBERSECURITY
Configure .Net AES to produce results of FIPS 197
Configure .Net AES to produce results of FIPS 197 For testing I want to configure any .Net AES algorithm to produce the results given in the FIPS 197 publication (Appendix B). I tried different parameters (block size = key size = feedback size = 128, different CipherModes and paddings, IV, ...) but i can't get the res...
https://stackoverflow.com/questions/78479616/configure-net-aes-to-produce-results-of-fips-197
c#, testing, encryption, aes, fips
1,715,661,798
se_78474511
stackoverflow
CYBERSECURITY
How to implement CBC-ECB encryption
How to implement CBC-ECB encryption So firstly I want to start with stating that this is a learning exercise and I'm not rolling my own encryption system for real world use. Specifically I am trying to learn about encryption by doing some practical challenges and this is the one I am currently working on. This challen...
https://stackoverflow.com/questions/78474511/how-to-implement-cbc-ecb-encryption
c, encryption, openssl, cbc-mode
1,715,630,074
se_77859663
stackoverflow
CYBERSECURITY
Updating BigQuery Dataset Encryption Configuration in google-cloud-bigquery Python Client
Updating BigQuery Dataset Encryption Configuration in google-cloud-bigquery Python Client I am attempting to update the Key Management Service (KMS) key associated with the encryption configuration of an existing Google BigQuery dataset using the google-cloud-bigquery Python client library, inside Google Cloud Functio...
https://stackoverflow.com/questions/77859663/updating-bigquery-dataset-encryption-configuration-in-google-cloud-bigquery-pyth
python, google-cloud-platform, encryption, google-bigquery, google-cloud-functions
1,705,924,341
se_42395412
stackoverflow
CYBERSECURITY
How to encrypt a string using application signing key so this string could be decrypted during runtime?
How to encrypt a string using application signing key so this string could be decrypted during runtime? It is a pretty straightforward question. I want to use Android Keystore API to decypher string that was previously encrypted with application signing key SHA-1. Is there a way to get the key (for encryption) that ...
https://stackoverflow.com/questions/42395412/how-to-encrypt-a-string-using-application-signing-key-so-this-string-could-be-de
android, encryption, android-keystore
1,487,776,576
se_78476144
stackoverflow
CYBERSECURITY
EVP_DecryptFinal_ex:bad decrypt Error in OpenSSL Decryption
EVP_DecryptFinal_ex:bad decrypt Error in OpenSSL Decryption I'm working on a C program that uses the OpenSSL library to perform several cryptographic operations. However, I'm encountering an issue when attempting to decrypt a file using AES-128-ECB. The decryption process fails with the error EVP_DecryptFinal_ex:bad d...
https://stackoverflow.com/questions/78476144/evp-decryptfinal-exbad-decrypt-error-in-openssl-decryption
c, encryption, openssl
1,715,668,366
se_78472264
stackoverflow
CYBERSECURITY
hmac sha265 wrong result
hmac sha265 wrong result I try to implement the MYRA Security Authentication for the API. The problem, is that the have a terrible authentication mechanism.... In the example/pseudo code they provide: /** * For example, if: secret is: 6b3a71954faf11e4b898001517fa8424 * then dateKey will be 1c2a270750de0cc1b8c3522494ab...
https://stackoverflow.com/questions/78472264/hmac-sha265-wrong-result
node.js, encryption
1,715,603,785
se_78471795
stackoverflow
CYBERSECURITY
how to encrypt and decrypt a column data in oracle without using dbms_crypto
how to encrypt and decrypt a column data in oracle without using dbms_crypto hello i need to know a WAY to encrypt and decrypt data without using dbms_crypto package in oracle because i need to grant execute on this package and i cannot have this permission so if there's any built in function that can do this i tried ...
https://stackoverflow.com/questions/78471795/how-to-encrypt-and-decrypt-a-column-data-in-oracle-without-using-dbms-crypto
sql, oracle-database, encryption
1,715,597,919
se_77744131
stackoverflow
CYBERSECURITY
Implement sharing in a privacy-first document management system
Implement sharing in a privacy-first document management system I'm trying to design a privacy-first document management system, where the user's content should not even be readable by our team. The user should, however, be able to share the documents with a specific set of users without compromising this level of pri...
https://stackoverflow.com/questions/77744131/implement-sharing-in-a-privacy-first-document-management-system
encryption, database-design, privacy, system-design, data-security
1,704,168,705
se_29509934
stackoverflow
CYBERSECURITY
Encrypt with CryptoJS and decrypt with PHP
Encrypt with CryptoJS and decrypt with PHP On the client side (mobile device) I encrypt a users password with CryptoJS: var lib_crypt = require('aes'); $.loginButton.addEventListener('click', function(e){ var key = lib_crypt.CryptoJS.enc.Hex.parse('bcb04b7e103a0cd8b54763051cef08bc55abe029fdebae5e1d417e2ffb2a00a3');...
https://stackoverflow.com/questions/29509934/encrypt-with-cryptojs-and-decrypt-with-php
javascript, php, encryption, mcrypt, cryptojs
1,428,482,726
se_78469245
stackoverflow
CYBERSECURITY
How to protect a token-key?
How to protect a token-key? I made a node server where i get the encrypted token for my map services, in my flutter app i decrypt it . The thing is i wanted to protect my token from beeing to obvious inside the code but now the key is also exposed,so what i can do ? Many guys say about flutter_secure_storage and .env ...
https://stackoverflow.com/questions/78469245/how-to-protect-a-token-key
flutter, encryption, flutter-dependencies
1,715,546,376
se_41869262
stackoverflow
CYBERSECURITY
How can I encrypt all ids in url in Laravel 5.2
How can I encrypt all ids in url in Laravel 5.2 I need to do all url ids encrypted like : user/edit/1 items/edit/35 posts/details/52 to user/edit/sdfjk54dfds items/edit/sdfjk54dfds posts/details/sdfjk5s4dfds there is lots of areas like blade files and in controllers that id used url('items/edit/2') and also in c...
https://stackoverflow.com/questions/41869262/how-can-i-encrypt-all-ids-in-url-in-laravel-5-2
php, encryption, laravel-5, url-encoding
1,485,418,641
se_78468276
stackoverflow
CYBERSECURITY
Java encryption/decryption code conversion to PHP does not wok
Java encryption/decryption code conversion to PHP does not wok I have a Java code snippet for encryption/decryption using AES, and I need to convert it to PHP for use in my web application. I've tried a few approaches but haven't been successful. Below is the Java code I'm trying to convert: import javax.crypto.Cipher...
https://stackoverflow.com/questions/78468276/java-encryption-decryption-code-conversion-to-php-does-not-wok
java, php, encryption
1,715,525,458
se_58981567
stackoverflow
CYBERSECURITY
Encrypt SQLITE database and use it with FireDac in a windows VCL application
Encrypt SQLITE database and use it with FireDac in a windows VCL application I am writing a Windows VCL desktop using c++ builder. The app uses Firedac and a SQLite database. I want to protect this SQLite database: Only my vcl app can connect to it and use it Other programs and people cannot use the SQLite file ...
https://stackoverflow.com/questions/58981567/encrypt-sqlite-database-and-use-it-with-firedac-in-a-windows-vcl-application
sqlite, delphi, encryption, c++builder, firedac
1,574,361,126
se_53109368
stackoverflow
CYBERSECURITY
Encrypting password within Web API or Database?
Encrypting password within Web API or Database? From client application, I am POSTING a password in plain text using HTTPS to the web API. The API is responsible to save the password in the database (using EF). My understanding is posting a password in plain text as long as it is done under HTTPS with SSL certificat...
https://stackoverflow.com/questions/53109368/encrypting-password-within-web-api-or-database
.net, database, encryption, password-protection
1,541,106,420
se_78463655
stackoverflow
CYBERSECURITY
nodejs decryption Error: Unsupported state or unable to authenticate data
nodejs decryption Error: Unsupported state or unable to authenticate data i am getting below error: Error: Unsupported state or unable to authenticate data at Decipheriv.final here is my code to encrypt (in reactjs): async function encryptJsonData(jsonData, secretKey) { const encoder = new TextEncoder(); const...
https://stackoverflow.com/questions/78463655/nodejs-decryption-error-unsupported-state-or-unable-to-authenticate-data
node.js, encryption, aes, cryptojs, node-crypto
1,715,410,623
se_54543410
stackoverflow
CYBERSECURITY
Decrypt SES message from S3 with KMS, Node
Decrypt SES message from S3 with KMS, Node I am not able to decrypt my messages I receive from my S3 bucket. They are encrypted with a KMS key. I use Node and Typescript. I have tried some stuff but arrent able to make it work. Looking in to this links: https://github.com/gilt/node-s3-encryption-client/issues/3 and ...
https://stackoverflow.com/questions/54543410/decrypt-ses-message-from-s3-with-kms-node
node.js, typescript, amazon-web-services, encryption, amazon-s3
1,549,402,485
se_73168129
stackoverflow
CYBERSECURITY
Encryption function assignment in C
Encryption function assignment in C I have an assignment for the university to create a function that encrypts in C language. The full information is given below: A scheme to encrypt letters is to fill a 8 x 8 array with the 26 capital letters of the English alphabet, the 26 small letters of the English, the ten digi...
https://stackoverflow.com/questions/73168129/encryption-function-assignment-in-c
c, debugging, encryption
1,659,110,884
se_51264566
stackoverflow
CYBERSECURITY
Java RSA Public Key from String Error
Java RSA Public Key from String Error I'm trying to convert a string to RSA public key, but I always get errors... Public Key: -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1OzdsHD2yN2USnmgTplY otoh974+mQ9nw9T3UmxCossD9WjdPJ7UbHXeMVgFrY53x9YfPFmuA5/YNs1eXzSq Y+GdJIrbdQCHDzWLzNv0mbbAvvv7s7...
https://stackoverflow.com/questions/51264566/java-rsa-public-key-from-string-error
java, encryption, rsa, public
1,531,223,765
se_78455573
stackoverflow
CYBERSECURITY
Haskell Caesar Cipher
Haskell Caesar Cipher i'm having trouble with this. my decrypt is not working as intended. i've been trying this for a while and still don't understand why it's showing error. module CaesarCipher where shift :: Char -> Int -> Char shift ch shift = let newChar = ch + shift alphabet = ['a' .. 'z'] ++ ['A' .. '...
https://stackoverflow.com/questions/78455573/haskell-caesar-cipher
haskell, encryption
1,715,269,518