Skip to content
Advertisement

Tag: encryption

Obfuscate file name and folder path

I am working on a git repo and I need to share folder hierarchy and file names to external vendor to perform some code analysis. I have whole hierarchy available in a csv file. Problem is that I cannot provide actual folder paths or file names as they contain protected information. For code analysis, external vendor only needs folder paths

How can I reference a string (e.g. ‘A’) to the index of a larger list (e.g. [‘A’, ‘B’, ‘C’, ‘D’, …])?

I have been racking my brain and scouring the internet for some hours now, please help. Effectively I am trying to create a self-contained function (in python) for producing a caesar cipher. I have a list – ‘cache’ – of all letters A-Z. Is it possible to analyze the string input (the ‘rawmessage’) and attribute each letter to its subsequent

How to Python gnupg (GPG) encrypt with recipient’s email address rather than their fingerprint?

How to Python-gnupg (GnuPG / GPG / OpenPGP) encrypt with recipient’s email address rather than their fingerprint? This example shows (which failes on my Ubuntu 20.04 / such a thing, but it’s an old example; excerpt: More-current (maybe?) references (like this and this) do not mention recipient email addresses, seemingly requiring numeric-only fingerprints for (presumably) public-key identication. Is it possible

I’m having trouble writing the ADFGVX cipher in python

First of all, if anyone doesn’t know how the ADFGVX Cipher works, Here is a video on it: https://www.youtube.com/watch?v=T0xfKiU9Rr4&t=11s Assuming you now know how the cipher works, let’s look at my problem now: First, we need to create the Polybius Square. I did this by creating a table: Next, we need to create a dictionary containing the coordinates: We can

Advertisement