return x / (i * evaluateTerm(x, i-1));
1129 Replies - 83155 Views - Last Post: 30 January 2017 - 08:42 AM
#126
Re: Ctrl + V dump
Posted 15 April 2009 - 05:05 PM
Currently in clipboard
/// <summary>
/// make a key out of a string password
/// based on PBKDF1 (PKCS #5 v1.5)
/// see http://www.faqs.org/rfcs/rfc2898.html
/// </summary>
public static byte[] GenerateEncryptionKey(string pwd, int keySize, byte[] salt, int cycles)
{
if (keySize > 32)
keySize = 32;
byte[] data = ASCIIEncode(pwd);
if (salt != null)
{
byte[] temp = new byte[data.Length + salt.Length];
Array.Copy(data, 0, temp, 0, data.Length);
Array.Copy(salt, 0, temp, data.Length, salt.Length);
data = temp;
}
if (cycles <= 0)
cycles = 1;
for (int i = 0; i < cycles; i++)
{
data = SHA256Hash.HashMessage(data);
}
byte[] key = new byte[keySize];
Array.Copy(data, 0, key, 0, keySize);
return key;
}
#128
Re: Ctrl + V dump
Posted 16 April 2009 - 10:30 AM
static void play_s(uint16_t freq) {
sound_init();
TIMEROCR = (F_CPU/(freq * 2 * prescalefac) - 1);
}
sound_init();
TIMEROCR = (F_CPU/(freq * 2 * prescalefac) - 1);
}
#129
Re: Ctrl + V dump
Posted 16 April 2009 - 10:47 AM
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="728" height="90">
<param name=movie value="http://www.devinettor.com/aki_en/banners/aki_banner_728x90.swf">
<param name=quality value=high>
<embed src="http://www.devinettor.com/aki_en/banners/aki_banner_728x90.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="728" height="90">
</embed>
</object>
<param name=movie value="http://www.devinettor.com/aki_en/banners/aki_banner_728x90.swf">
<param name=quality value=high>
<embed src="http://www.devinettor.com/aki_en/banners/aki_banner_728x90.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="728" height="90">
</embed>
</object>
#130
Re: Ctrl + V dump
Posted 16 April 2009 - 04:17 PM
Private Sub btnButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnButton.Click
#131
Re: Ctrl + V dump
Posted 16 April 2009 - 05:02 PM
#define TIMERCR TCCR2
#define TIMEROCR OCR2
#define ISRVECTOR TIMER2_COMP_vect
#define OC_IE OCIE2
#define TIMERDDR DDRD
#define TIMERPORT PORTD
#define OUTPUTPIN PD7
#define TIMEROCR OCR2
#define ISRVECTOR TIMER2_COMP_vect
#define OC_IE OCIE2
#define TIMERDDR DDRD
#define TIMERPORT PORTD
#define OUTPUTPIN PD7
#133
Re: Ctrl + V dump
Posted 16 April 2009 - 07:39 PM
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#134
Re: Ctrl + V dump
Posted 16 April 2009 - 08:53 PM
$sql4="SELECT * FROM gamestats WHERE username = '$name' and SET energy = 100";
from helpin' someone in the php forms.
from helpin' someone in the php forms.
This post has been edited by engale: 16 April 2009 - 08:53 PM
#135
Re: Ctrl + V dump
Posted 16 April 2009 - 08:57 PM
// gathering data...
cout << endl << " Please insert 15 numbers later to be reversed.";//added ;
cout << endl;
for ( int c=0; c<15; c++ )
{
//cout << " ";
cin >> array[c];
}
// reverse order!
cout << " These are the numbers you input displayed in reverse."; //added ;
cout << endl << " ";
for (int c=14; c>=0; c-- )//added int
{
cout << array[c] << " ";
}
cout << endl << " Please insert 15 numbers later to be reversed.";//added ;
cout << endl;
for ( int c=0; c<15; c++ )
{
//cout << " ";
cin >> array[c];
}
// reverse order!
cout << " These are the numbers you input displayed in reverse."; //added ;
cout << endl << " ";
for (int c=14; c>=0; c-- )//added int
{
cout << array[c] << " ";
}

New Topic/Question

MultiQuote









|