WCF Error "This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case"

I'm having a problem using a WCF call from a Windows service to my WCF service running on my web server. This call has been working for a number of weeks, but then stopped working all of a...

shorter php cipher than md5?

For a variety of stupid reasons, the maximum length of a given form variable that we are posting to an external server is 12 characters. I wanted to obscure that value with md5, but obviously with...

How to securely generate an IV for AES CBC Encryption?

I work on some crypto stuff. I use AES 256 with CBC mode I use OPENSSL I am aware of the following things (source = wikipedia): an initalization vector should be: Unique: must not be repeated...

Convert a String to a byte array and then back to the original String

Is it possible to convert a string to a byte array and then convert it back to the original string in Java or Android? My objective is to send some strings to a microcontroller (Arduino) and store...

Webservice - Operation has timed out

The project that I'm working on is the following: I've got a Java webservice that encrypts data (Des, 3Des). The data is send from a C# application. With I want to encrypt/decrypt a file of the...

Getting BouncyCastle to decrypt a GPG-encrypted message

How can I get BouncyCastle to decrypt a GPG-encrypted message? I have created a GPG key pair at the CentOS 7 command line using gpg --gen-key. I chose RSA RSA as the encryption types, and I...

Laravel X-CSRF-Token mismatch with POSTMAN

I try to talk to my REST API built with Laravel. But the call with POSTMAN is rejected due to a token mismatch. I guess I need to include the CSRF token in the header. But do I need the encrypted...

Laravel: webhooks need to bypass Laravel's CSRF verification

In two places I have found that Laravel csrf protection can be bypassed by setting the protected $except variable. But its not seems to be working according to the...

AES Encryption is implemented in ECB mode but it is not security compliant. How to implement CBC mode

I have implemented AES encryption in java, but the algorithm is not accepted by team as it is implemented in ECB mode which is not security compliant.I am very new to cryptography and Security...

Samsung Galaxy S7 Crash Getting Location

I have an app that has worked for a year on my Galaxy S6 and my Brother's Galaxy S4. He recently bought a new Galaxy S7 and the App crashes when it tries to access the location services. I've...

Encrypt String in .NET Core

I would like to encrypt a string in .NET Core using a key. I have a client / server scenario and would like to encrypt a string on the client, send it to the server and decrypt it. As .NET Core is...

Struggling to decrypt a CENC-encoded file with Bento4 tools

I have a file which i've encrypted in CENC, and i'm trying to now decrypt it using mp4decrypt from the bento4 mp4decrypt tools. The file consists of a single h264 track in an mp4 file. This is the...

JavaScript: Writing to download stream

I want to download an encrypted file from my server, decrypt it and save it locally. I want to decrypt the file and write it locally as it is being downloaded rather than waiting for the download...

Convert a binary string (SecureRandom.random_bytes) into a hexadecimal string?

I'm generating a 32 byte key and 16 byte iv for my AES-256 CBC Ruby encryption implementation: key = SecureRandom.random_bytes(32) # =>...

How to generate password_hash for RabbitMQ Management HTTP API

The beloved RabbitMQ Management Plugin has a HTTP API to manage the RabbitMQ through plain HTTP requests. We need to create users programatically, and the HTTP API was the chosen way to go. The...

How to AES-GCM for iOS and Android

i want to create AES encrypt and decrypt GCM mode with authentication tag. This is my source code of iOS version: CCCryptorStatus ccStatus = kCCSuccess; NSData *iv = [hexIV...

AWS KMS throws exception on encrypt

Created a method to encrypt data using AWS KMS. It was working for a while then I'm experiencing the following exception. Even tried creating a new key but no luck! Not sure if it is something to...

Send mail from local machine using laravel

I want to send mail from my local machine using laravel 5.4 in a forget password API. But I am getting Swift_TransportException (1/1) Swift_TransportException Expected response code 220 but got...

Sending Email's Using GoDaddy Hosting With PHPMailer?

I'm currently working on getting a website up and running for my Virtual Company, I have been researching and can't find the answer to this anywhere. When a user Signs up, I want them to receive...

Does Admob count as using encryption in an app

I am uploading a build of my app, and apple is asking if it uses encryption. I'm not sure if AdMob or Firebase counted as encryption and if I needed to follow the ERN process. Thank you.

How to change the internal IP of Kubernetes worker nodes?

I am trying to deploy a K8s cluster from scratch using Kelsey Grammer's Learn Kubernetes the hardway guide. In my case I am using vagrant and VirtualBox. Each of My Master and Workers have a dhcp...

Not able to do maven release with jasypt encryption

I've a Springboot project handled by maven that contains some secrets encrypted with Jasypt. When I'm running the mvn deploy I'm passing the jasypt password as: mvn -B clean deploy...

Spring App Not Connecting to Kafka with SSL

I have a Spring boot app with a very simple kafka producer. Everything works great if I connect to a kafka cluster without encryption. But times out if I try to connect to a kafka cluster with...

Kraken API private request authentication {"error":["EAPI:Invalid key"]} - Google Script

I have been trying to communicate with the private API on kraken. The error I get suggests {"error":["EAPI:Invalid key"]} that the encryption/decryption steps are correct. I have tried creating...

WP database error Unknowon column ‘wp_’ in ‘field list’ for query SELECT wp_

Please do not close this question, it's not a duplicate and the suggested link explaining how to use quotes on MySQL does nothing for me since this problem is inside a WP script. Thanks I’m...

Authentication to ACR1255U-J1 reader via bluetooth

For the communication with a ACR1255U-J1 NFC Reader an authentication is needed. Connection is via bluetooth by using Hex-Strings. These are my two methods for encryption and...

What does SetApplicationName actually do in reference to AddDataProtection?

Consider this example code: services.AddDataProtection() .SetApplicationName("TestingApp"); The docs seem to indicate that setting the application name like this will allow two servers to...

Bouncy Castle Java PGP encryption & decryption

I am trying to implement PGP encryption in Java using Bouncy Castle, also using some of the examples provided by them. But if I try and decrypt the message I just encrypted, it does not work. The...

Encrypting user data in transit for User Messaging Platform SDK for Android

Does User Messaging Platform SDK for Android encrypts user data in transit ? Data safety form in Play Console asks if all of the user data collected by your(my) app encrypted in...

How to retrieve the location of user which set by Geofire in real-time firebase by determining their format(double or string)?

private void getLocationFromFirebaseAndEncrypt(){ String userID = FirebaseAuth.getInstance().getCurrentUser().getUid(); location =...