, 103 tweets, 36 min read
My Authors
Read all threads
If the attacker has <= Q guesses, access to the FSB bucket will give no advantage over baseline guessing. Higher Q, greater security loss

#realworldcrypto
Q: How do you compute password probability?

A: We have a lot of data in the wild now to be able to extract decent probability distributions

#realworldcrypto
Lunch time!
Next up, "Deep Learning Security Nudges Towards Stronger Cryptography"

#realworldcrypto
"Stack Overflow considered harmful?" // @FiloSottile

#realworldcrypto
Whenever users encountered usability issues with crypto libraries, they start googling

#realworldcrypto
"Never underestimate the power of inertia. That power can be harnessed." HM.

#realworldcrypto
Nudge theory!

> nudge towards better decisions without restricting options

#realworldcrypto
Nudge, nudge, do crypto better

#realworldcrypto
Using machine learning to learn the similar patterns found in crypto posts on Stack Overflow

#realworldcrypto
Solely the nudges made a difference here, previous experience did not affect the security of solutions 😂

#realworldcrypto
We believe if SO actually implemented this it would have a significant effect on the security and implementation of software and crypto.

#realworldcrypto
Example inline nudges on Stack Overflow

#realworldcrypto
Next up, "CyrpTen: a Machine Learning focused framework for secure computing"

#realworldcrypto
From Facebook!

#realworldcrypto
Tensors, but not TensorFlow 😉

#realworldcrypto
Abstracting crypto-supporting tesnor class types in CrypTen

#realworldcrypto
👩‍💻🐍🔥

#realworldcrypto
Need to improve performance tho

#realworldcrypto
Say we want to train on a million encrypted images, classify with high accuracy, and complete in a week. (vs minutes unencrypted). If that can be achieved it will be a "step function change" in terms of adopted of encrypted machine learning.

#realworldcrypto
Next up, "Towards a Homomorphic Machine Learning Big Data Pipeline for the Financial Services Sector" from IBM Research

#realworldcrypto
~ b r a n d ~

#realworldcrypto
How can we share data amongst different business areas without breaking some regulation, such as Brazil's GDPR in 2020?

#realworldcrypto
Requires a multidisciplinary team

#realworldcrypto
Fully homomorphic encryption allows processing of data without accessing the plaintext, and without sharing. The best known instances use lattices, which lends itself nicely to quantum-resistance.

#realworldcrypto
Dataset of ~300K entries, real financial transactions over 24 months

#realworldcrypto
'upsell'

#realworldcrypto
Everything is done on-prem, no clouds here ☁️

#realworldcrypto
Some regulations require the data to be _physically_ separated, yet another restriction that makes data sharing hard

#realworldcrypto
The encrypted data goes to the cloud for processing instead

#realworldcrypto
50x slowdown over unencrypted, which sounds like a lot, but compared to how slow FHE used to be (a few hundred times slower!) this is pretty good

#realworldcrypto
Short break then we'll be back for the blockchains and distributed ledgers session
Next up, "Challenges and Cryptographic Solutions with Payment-Channel Networks"

#realworldcrypto
the 🌩️ lightning 🌩️ network!

#realworldcrypto
Lightning allows us to perform payments offchain ⛓️

#realworldcrypto
On-path adversaries do not learn who pays to whom

#realworldcrypto
Both issues may be helped if we randomize values at each hop on the path

#realworldcrypto
Neat! How long are these paths though?

#realworldcrypto
Lock contracts impl'd from homomorphic one-way functions; Schnorr-based construction

#realworldcrypto
These security and privacy properties formally proven in the UC framework 👍

#realworldcrypto
Also useful for cross-currency interoperability

#realworldcrypto
Goal: constant collateral, where coins are locked only for some delta time, not indefinitely

#realworldcrypto
Still need solutions to address scalable and interoperable routing

#realworldcrypto
Q: Seems like Alice needs to interact with every entity along the path, does that reveal too much information about them?

A: They get information but not necessarily where it comes from

#realworldcrypto
Next up, "The Marvellous Universe of Arithmetization-Oriented Primitives"

#realworldcrypto
Normal hash functions are not efficient inside zkSNARKs. Ideally they would be secure, operates on field elements, and minimizes the number of field mults. AES would be close but it does not minimize mults.

#realworldcrypto
All the mults are limited to the AES sbox

#realworldcrypto
In zkSNARKs we are _verifying_ a computation, vs _doing_ a computation

#realworldcrypto
Non-determinism, and cost of mult is independent of the field size

#realworldcrypto
Got it down to 2% of regular AES!

#realworldcrypto
Welp, someone found an attack tho

#realworldcrypto
The result is called 'Vision':

#realworldcrypto
And then 'Rescue', over prime fields

#realworldcrypto
'Rescue'

#realworldcrypto
Considered very fast and secure in the specific use case as a hash inside SNARKs over 128bit+ fields

#realworldcrypto
Very last talk, "Detecting Money Laundering Activities via Secure Multi-PartyComputation for Structural Similarities in Flow Networks"

#realworldcrypto
How can these global-scale money laundering schemes be detected and prevented?

#realworldcrypto
Currently transaction monitoring is a highly manual process, collaboration across banks is hard because transaction data is private (also regulations).

#realworldcrypto
Trying a graph-based approach

#realworldcrypto
#ttants:

ML: money laundering
ML: machine learning

#realworldcrypto
Represent as adjacency matrix

#realworldcrypto
"XOR secret computing engine" 👀

#realworldcrypto
Looks like someone needs a big data pipeline…

#realworldcrypto
Bloom filters again!

#realworldcrypto
A whole combination of techniques to tackle this problem!

#realworldcrypto
Q: Are your techniques resilient to the banks _themselves_ doing money laundering?

A: In general if the bank is malicious and detected, they get fined

#realworldcrypto
And that's it!

#realworldcrypto
Real World Crypto 2021 will be in Amsterdam, 2022 will be in Tokyo!

#realworldcrypto
See you next year! 👋

#realworldcrypto
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with Deirdre Connolly¹

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!