May
8
awarded Popular Question
Jun
7
awarded Teacher
Apr
13
comment AES-NI implementation examples
Thanks! It looks good. I will try to compile code to expand key and encrypt/decrypt a block this weekend.
Apr
13
awarded Supporter
Apr
12
comment String Encryption in Linux
If you implement Vigenere you could just as well implement some rotor machine, like enigma too. That will also give the same output size. There are enigma implementations available, but they are not installed as default.
Apr
12
comment Is there a kernel module that returns exactly what a simple 'ifconfig' does?
For instance, check net/core/dev.c The function __dev_get_by_name() there looks interesting. You can probably use that and get some info about the interface from the returned struct.
Apr
12
comment Is there a kernel module that returns exactly what a simple 'ifconfig' does?
Check the source code for ifconfig and see what it does (or check with strace) and then check the linux kernel sources for what the network drivers does when these syscalls are executed. For instance ioctl SIOCGIFHWADDR, SIOCGIFADDR and so on.
Apr
12
comment AES-NI implementation examples
What I mean is that this question could in that case be merged with the already existing one on the same subject.
Apr
12
comment AES-NI implementation examples
I found this one: stackoverflow.com/questions/4609677/… But it was closed because the question was not formulated as a question (and still not answered).
Apr
12
awarded Student
Apr
12
asked AES-NI implementation examples
Apr
11
comment Can I allocate more than 65535 bytes according C standards?
Thanks. My compiler actually warned about wrong modifier.
Apr
11
answered How to properly send HTTP response with Python using socket library only?
Apr
11
answered Can I allocate more than 65535 bytes according C standards?
Apr
11
revised Replace a word with multiple lines using sed?
added 176 characters in body
Apr
11
revised Replace a word with multiple lines using sed?
added 1 characters in body
Apr
11
answered Replace a word with multiple lines using sed?
Apr
11
answered linux command line: du --- how to make it show only total for each directories
Apr
11
awarded Supporter
Apr
11
comment How do you generate a random date in objective-c?
Ah, yes that is correct. This method will produce a random date within a 60 day period +/- an hour, which is acceptable in most cases.
1 2 3