php – How to add API security keys into JS of wordpress securely

I am using wp_localize_script() to add variables from my config.ini file to my inline JS code (inside HTML block element of Elementor) (Please see this for reference)

But this method is unsafe to add Security keys because these variables can be accessed via console. How can I add API security keys to my JS code securely?
Is there any way I can achieve this? Thank you in advance.

mysql – Is using strings as keys for reference to other tables bad in terms of memory usage?

Yes MySql and all other rdms will store the complete email as varchar and reserve space for the number of bytes.

Integer with up to 8 bytes for a big integer will on löy use these bytes, and are so faster when referencing.

In terms of speed you use INTEGER, and consider other like varchar(36) for uuids when the need arises, for example different servers have to save data in the same table.

whith emails a unique and so be indexed for referencing, you should take the extra mile and use Integer if you expect you will have big tables.

Tool(s) for cracking insecure RSA keys

I have a 60-bit RSA public key and a file encrypted with it. Since RSA with keys under 256 bits should be crackable with even limited computational resources, is it possible to obtain the decrypted file? If so, are there any good tools for this?

How do many public keys correspond to one private key?

I have read online that hardware wallets can generate new public keys to facilitate transactions. Ie if someone has BTC on an exchange and they want to send that BTC in different installments to a single private key/hardware wallet, that hardware wallet can generate a different public key for each transaction. I’m a bit confused on how this works? Would the ledger not indicate that each of those installments now belongs to a different address? Or is it simply that each time a new public key is generated, the private key in the hardware wallet has the ability to sign for all of those? (Thus creating a persistent, growing list of public keys associated with one private key?).

Additionally, what is displayed on the ledger if that hardware wallet, after multiple installments with different public keys, now wants to send BTC elsewhere? Which of the previous public keys is used? Does it create a new one? Wouldn’t this show up on the ledger as a public key sending more BTC than it ever acquired?

security – Storing private keys in cloud providers enviroment variables

Is it ok to store private keys in cloud provider (such as AWS, Firebase) secrets (enviroment variables) in cloud functions (such as lambdas or firebase cloud functions)?

I understand I would be trusting the safety of the funds in that address to the cloud provider, but I can’t see another solution since I am building an application that has to sign bitcoin transactions from that address.

if the hardware wallet company ledger goes out of business, what will happen to my crypto asset / private keys in ledger?

if the hardware wallet company ledger goes out of business, what will happen to my crypto asset / private keys in ledger? I heard that the hardware wallet ledger is not open-source, so will the company get access to my private key? Will I be able to transfer my crypto elsewhere?

How to make two keys pressed to make an action?

Hey i am beginner gamedev. I couldn’t find answer to this or I am bad articulating my problem. But really would like an answer to this. How can i make function to press two keys like A and D at the same time to make a jump animation if A and D are already taken separately to A = walk left and D = to walk right? Without them overlapping.

functional programming – In Scala, converting CSV into map using first line values as keys and columns values as arrays

I have this format data in CSV :


And I need to convert it to map of below format, using lambda expression (no loops)

HashMap<String,mutable.ArrayBuffer(Double)> = new HashMap<>()
("A"->{1,5,9}, "B"->{2,6,10}, "C"->{3,7,11}, "D"->{4,8,12})


ssh – Arrow keys not working when using PuTTY plink command connect CentOS 7 in windows terminal?

I want to connect CentOS7 in Windows Terminal, when I use command: ssh root@, the arrow keys works well, but ssh command can’t enter password automatically.

So, I use puTTY plink command: plink -ssh -l root -pw password, but the arrow keys is not working.

How to fix this? Or is there another way to connect to linux can enter password automatically in Windows Terminal?

Compare private keys and public keys from blockchain

What I want to do is to compare all generated private keys and public keys from blockchain:

Input data:

  1. I have gigabytes of strings (one per line) which I can convert to BTC private keys and later public keys
  2. I have Bitcoin Core and whole blockchain on disk (Berkeley database format?)

Output data:

  1. list of strings which correspond to public keys in blockchain

How would one achieve that?