16 karma · joined Feb 8, 2021 (5y ago) · 6 submissions
comment 5y ago · link · parent
But in principle you should be able to go to the “tether mint”, give them your tethers, and they redeem them 1:1 to USD. Apparently this is not very straightforward to do.
This podcast episode covers the topic well: https://anchor.fm/cas-piancey/episodes/Tether-A-Stable-Discu...
comment 5y ago · link · parent
I feel like this is an antipattern in OOP. Shouldn’t the functions just be defined to take in parameters of type SecureString instead?
I think this violates the liskov substitution principle (https://en.m.wikipedia.org/wiki/Liskov_substitution_principl...). For example, how is the “length” function or “startsWith” defined on SecureString? It seems like either data would be leaked via side channels, or the behavior doesn’t really conform to the String specification.