CRYPTO NEWS

Crypto-Compression Algorithms?

I was wondering, whether there exist such algorithms/enciphering procedures which both compress and encrypt the input data. That means, for starters, the output will be both smaller in size and difficult to decrypt…and if the compression algo is good, then the bits will be almost random.

Also any twin-encryption algo-s around?: by which I mean, suppose I have 2 data strings (alphanumeric only, say for now) — Using them both, and an algo, I produce the encrypted output – I take in a pair, and produce a pair. The procedure is algo-based and not key-based. Any comments on this? And how this could relate to the earlier crypto-compression problem? (One way it would relate is, if the data is not just strings of characters, but a large multimedia file, it can be compressed fast and securely apart from being encrypted)

The FAQ says “please ask questions that can be answered, not merely discussed” but I can not be more specific, atleast not now: if it had some coding, I might have posted it on stackoverflow!

All comments, with links to other Q&A are welcome. Other forum addresses are also welcome!

How to decode event log info from contract?

I have structure of event in my Solidity code like event test(address investor, uint256 priceinWei). I make a request to etherscan to get all logs from contract on specific addres and get { ‘address’:’…’, ‘topics’:[ ‘0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef’, ‘0x0000000000000000000000001111111111111111111111111111111111111111’, ‘0x000000000000000000000000409fefe0212a75d8c117ac834123d462bce9635c’ ], ‘data’:’0x000000000000000000000000000000000000000000000012f94bfef30bf32b8d’, ‘blockNumber’:’…’, ‘timeStamp’:’….’, ‘gasPrice’:’0x4a817c800′, ‘gasUsed’:’0x182b7′, ‘logIndex’:’0x8′, ‘transactionHash’:’…’, ‘transactionIndex’:’0xc’ } Question: How can I get address and::Listen

I have structure of event in my Solidity code like event test(address investor, uint256 priceinWei).

I make a request to etherscan to get all logs from contract on specific addres and get

{      'address':'...',    'topics':[         '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',       '0x0000000000000000000000001111111111111111111111111111111111111111',       '0x000000000000000000000000409fefe0212a75d8c117ac834123d462bce9635c'    ],    'data':'0x000000000000000000000000000000000000000000000012f94bfef30bf32b8d',    'blockNumber':'...',    'timeStamp':'....',    'gasPrice':'0x4a817c800',    'gasUsed':'0x182b7',    'logIndex':'0x8',    'transactionHash':'...',    'transactionIndex':'0xc' } 

Question: How can I get address and price from it. Should I decode “data”? Instead ... I of course got values, just don’t want to show it.

Crypto-Compression Algorithms?

Shopping cart
There are no products in the cart!
Continue shopping
0