- ComputerCraft | Programmable Computers for Minecraft
- → Anavrins's Content
Anavrins's Content
There have been 18 items by Anavrins (Search limited from 10-February 22)
#268881 Better co-ords?
Posted by
Anavrins
on 08 August 2017 - 09:35 PM
in
Ask a Pro
For pocket computer there isn't really a way currently other than measuring the distance a message has traveled to get to your pocket comp, which is essentially what GPS uses.
I don't know of any mods that implements something like this, considering that modded peripheral for pockets is a thing that's only available in the beta version of CC, I think.
#269043 Add Github OAuth login
Posted by
Anavrins
on 16 August 2017 - 11:53 PM
in
Forum Discussion
EveryOS, on 16 August 2017 - 10:59 PM, said:
What do you mean exactly by this, what uses would it have, maybe give a bit more details of what you have in mind so we could discuss about it.
#269094 Add Github OAuth login
Posted by
Anavrins
on 18 August 2017 - 10:41 PM
in
Forum Discussion
Anavrins, on 16 August 2017 - 11:53 PM, said:
I understand that it might be useful for something like Cloud9, importing and exporting code from Github sure sounds convenient, but I can't really see the point in the context of a forum...
#269204 Krist - Minable currency that works across servers (paste updated)
Posted by
Anavrins
on 24 August 2017 - 02:01 AM
in
Programs
Nothing could potentially stop them from changing the ledger (database) to give them free money, that possibility is the reason why it shouldn't have any real world value, this isn't a problem with a currency that uses an actual blockchain like Bitcoin.
Beeskee, on 18 August 2017 - 10:40 PM, said:
0swpD5L2 - Minecraft Miner <3 (tho ofc krist needs a minecraft-only mining branch so it isn't competing with GPUs lol) - sadly I get "attempt to index nil" for line 20.
#270785 Just the RGB values of the CC colors
Posted by
Anavrins
on 05 October 2017 - 10:58 AM
in
APIs and Utilities
There's the RGB values documented at the bottom of that page.
#270796 What is the colors api for?
Posted by
Anavrins
on 05 October 2017 - 11:10 AM
in
Ask a Pro
00...000001 means only white cable
00...000010 means only orange cable
00...000011 means both white and orange cable
colors.combine justs simplifies the action of combining 0001 and 0010 into 0011, without the need to do it with logical operators.
More info: http://www.computerc...iki/Colors_(API)
#270804 Just the RGB values of the CC colors
Posted by
Anavrins
on 05 October 2017 - 07:37 PM
in
APIs and Utilities
#271640 MineCoin
Posted by
Anavrins
on 06 November 2017 - 09:01 PM
in
General
which might still allow the most powerful miners to modify the blockchain (list of transactions, balances, refunds).
Krist is already well established, I don't think we need to go to such length of complexity for something this small.
I'd rather trust 3d6 with the immutability of the transactions, rather than an random, unknown powerful miner.
It might not be a 'proper' cryptocurrency, but I'd say it's good enough.
Krist is supposed to be convenient to use and be able to be interfaced from within CC, you use one URL for everything Krist related.
For an actual blockchain like Bitcoin, there's no easy way to interface with it from within CC.
#275125 oVER 9000 KST
Posted by
Anavrins
on 09 February 2018 - 11:25 PM
in
General
LoganDark2, on 09 February 2018 - 08:47 PM, said:
You think you're so special because you have 260k Krist? Well, you're going to have to get over 5x that to get to the top of the list.
It's not our fault that despite your relatively low balance, you wasted less energy than the rest of us mining a unvaluable currency.
It's not our fault that we decided to waste energy on Krist, rather than something like Bitcoin or something with actual value.
It's not my fault that this thread is now officially a bragging thread, oh wait, its always been that.
#276931 Secure Ring LWE / ChaCha20 over modem
Posted by
Anavrins
on 22 April 2018 - 04:46 AM
in
APIs and Utilities
KillaVanilla's implementation of AES is known to be broken as it fails AES's test vectors,
it'd be better to use SquidDev's AES, or even better my Chacha20 for more speed and same security level.
You're also not doing any kind of message authentication (MAC), meaning any altered message sent to a receiver will be decrypted which might lead to many problems.
#276939 Secure Ring LWE / ChaCha20 over modem
Posted by
Anavrins
on 22 April 2018 - 05:53 PM
in
APIs and Utilities
Quartz101, on 22 April 2018 - 10:34 AM, said:
Easy solution, split the RLWE key in half, use first 256-bits for encryption and the second half for message authentication.
Since it's not recommended to use a shared secret out of any kind of handshake directly, an alternative solution would be to use the RLWE shared secret to derive multiple other keys.
Something like:
enckey = sha256.pbkdf2(rlwe_secret, "1", 50, 32) #-- generates a 32 bytes (256-bits) long key, with 50 pbkdf2 iterations, based of the RLWE secret mackey = sha256.pbkdf2(rlwe_secret, "2", 50, 32) #-- use different salts to get a different 256-bits keys sendkey = sha256.pbkdf2(rlwe_secret, "3", 50, 32) recvkey = sha256.pbkdf2(rlwe_secret, "4", 50, 32) morekeys = sha256.pbkdf2(rlwe_secret, "5", 50, 32)
#276942 Secure Ring LWE / ChaCha20 over modem
Posted by
Anavrins
on 22 April 2018 - 07:44 PM
in
APIs and Utilities
#277042 reCAPTCHA V1 is shutdown
Posted by
Anavrins
on 29 April 2018 - 09:53 PM
in
Forum Discussion

This causes every answers you give to be valid, and will allow bots to sign up.
- ComputerCraft | Programmable Computers for Minecraft
- → Anavrins's Content


