I see this thread is not very old, so i might as well try.
im trying to port this pyton code to pb:
def mbi_encrypt(key, nonce):
def derive_key(key, magic):
hash1 = HMAC.new(key, magic, SHA).digest()
hash2 = HMAC.new(key, hash1 + magic, SHA).digest()
hash3 = HMAC.new(key, hash1, SHA).digest ...
Search found 8 matches
- Sat Feb 16, 2008 7:34 am
- Forum: Tricks 'n' Tips
- Topic: Windows: Encryption with password using the Windows API
- Replies: 27
- Views: 17352
- Fri May 25, 2007 6:33 pm
- Forum: Coding Questions
- Topic: Question about webcams
- Replies: 0
- Views: 661
Question about webcams
I am trying to get a list of connected webcams and probably enable them
simultaneously (more than 1 at the same time).
I am using AVICap, but in order to do this, it has to display a dialog and
user needs to pick the source. Is there a way to do it programatically
with no dialogs?

simultaneously (more than 1 at the same time).
I am using AVICap, but in order to do this, it has to display a dialog and
user needs to pick the source. Is there a way to do it programatically
with no dialogs?

- Tue May 22, 2007 7:26 am
- Forum: Off Topic
- Topic: Good (free) MIDI sequencer?
- Replies: 5
- Views: 1346
- Sun May 20, 2007 10:20 pm
- Forum: Coding Questions
- Topic: Translating Code to PureBasic
- Replies: 8
- Views: 2572
Nice! Thanx. Just one question, to assign data to the array i need to do this:
?
can i use:
Directly safely?
Code: Select all
PokeL(*memoryblock+SizeOf(LONG)*3, 8837)
can i use:
Code: Select all
MyArray(3) = 8837
- Sun May 20, 2007 7:11 pm
- Forum: Coding Questions
- Topic: Translating Code to PureBasic
- Replies: 8
- Views: 2572
Translating Code to PureBasic
I just started learning Purebasic and i like it. I still need to get used to
some things but it seems good.
Anyways, my powerbasic dll, works in a way that is perfect in the
powerbasic programming environment, however i dont know how to
do some stuff in Purebasic...
For Example one of the ...
some things but it seems good.
Anyways, my powerbasic dll, works in a way that is perfect in the
powerbasic programming environment, however i dont know how to
do some stuff in Purebasic...
For Example one of the ...
- Wed May 09, 2007 5:10 am
- Forum: Off Topic
- Topic: Powerbasic
- Replies: 152
- Views: 33132
Hey Paul... there you are... i was wondering few months ago where you were (i even asked in the forums). :) So you got banned huh? :P
Well, since we are on the subject, i think i have also a point here, i have
heard many versions that bob is strict, that the forums are managed in an
arbitrary way ...
Well, since we are on the subject, i think i have also a point here, i have
heard many versions that bob is strict, that the forums are managed in an
arbitrary way ...
- Tue May 08, 2007 10:39 pm
- Forum: Off Topic
- Topic: Powerbasic
- Replies: 152
- Views: 33132
- Tue May 08, 2007 9:47 pm
- Forum: Off Topic
- Topic: Powerbasic
- Replies: 152
- Views: 33132