Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
brush
- Page 1
Difference when drawing with Brush
Programming
Software Development
12 Years Ago
by pritaeas
… } procedure TCard.Paint; var r: TRect; begin Canvas.
Brush
.Color := clWhite; Canvas.Rectangle(GetClientRect); r := GetClientRect; ….Height := 16; FBrushBitmap.PixelFormat := pf8bit; FBrushBitmap.Canvas.
Brush
.Color := FBackColor; FBrushBitmap.Canvas.FloodFill(0, 0, FBackColor…
Re: Is disposing a local brush variable necessary?
Programming
Software Development
11 Years Ago
by Momerath
… method it belongs. So, is it necessary to dispose a
brush
object every time if it is local? While the reference… is on the stack, the actual
brush
object is in the heap. So until the GC gets… around to it, the
brush
still exists (and can be resurrected). If your method gets…
Is disposing a local brush variable necessary?
Programming
Software Development
11 Years Ago
by priyamtheone
MSDN recommends disposing any variable of type System.Drawing.
Brush
before its last reference is released. Otherwise, the resources it … will not be freed until the garbage collector calls the
Brush
object's Finalize method. As we know, local variables are… method it belongs. So, is it necessary to dispose a
brush
object every time if it is local?
Create Paint Brush's Fill Color
Programming
Software Development
17 Years Ago
by Sunny28525
…, This is Sunny. i am trying to create a paint
brush
. almost i have done it but there is a problem…
Brush myself on encryption
Programming
Web Development
15 Years Ago
by Stefano Mtangoo
What books or tutorial (online/downloadable) shall i learn to be able to make secure page? I need to know different technique and algorithms
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by phyrtech
Learning to write secure PHP code for a website is about a lot more than encryption. Encryption is only one part of creating a secure website. Enabling encryption on the site will vastly increase security as information will not be sent in plain text across the Internet. The scope of "website security" is huge. There are hundreds of …
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by ShawnCplus
[QUOTE=evstevemd;1168358]What books or tutorial (online/downloadable) shall i learn to be able to make secure page? I need to know different technique and algorithms[/QUOTE] There aren't really that many techniques (and 0 algorithms to remember) to secure your site. MD5 your passwords, scrub your inputs AND outputs, use prepared queries (PDO). I'…
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by Stefano Mtangoo
[QUOTE=ShawnCplus;1168462]There aren't really that many techniques (and 0 algorithms to remember) to secure your site. MD5 your passwords, scrub your inputs AND outputs, use prepared queries (PDO)..[/QUOTE] is MD5 secure? Every place i read of hashing, md5 is being bashed of being insecure but they don't really get to the point where they tutor …
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by ShawnCplus
[quote]is MD5 secure? Every place i read of hashing, md5 is being bashed of being insecure[/quote] Well if this is true then 99% of the PHP websites out there that do authentication are fucked. :P [quote]Please, explain a little bit[/quote] The only use-case for encryption during securing a PHP site is if you want to encrypt passwords rather than …
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by Stefano Mtangoo
[QUOTE=phyrtech;1168461]Learning to write secure PHP code for a website is about a lot more than encryption. Encryption is only one part of creating a secure website. Enabling encryption on the site will vastly increase security as information will not be sent in plain text across the Internet.[/QUOTE] I need only to apply it to login/register …
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by phyrtech
[QUOTE]Well if this is true then 99% of the PHP websites out there that do authentication are ****ed.[/QUOTE] What you are likely referring to is the fact that someone somewhere showed that an md5 hash collision can be found in less time than is theoretically possible. And some day processing power will be so abundant that one-way hashes of such…
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by Stefano Mtangoo
Thanks guys. I will read those.
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by Stefano Mtangoo
[QUOTE=ShawnCplus;1168523] The only use-case for encryption during securing a PHP site is if you want to encrypt passwords rather than hash them. [/QUOTE] I don't know what is better, but I plan to encrypt them than hashing them. But If hashing will have added advantage I can think of it [QUOTE=ShawnCplus;1168523]If you encrypt them you can…
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by phyrtech
[QUOTE=evstevemd;1169378]I don't know what is better, but I plan to encrypt them than hashing them. But If hashing will have added advantage I can think of it I think I should send them random link to change their password than send them plain text password[/QUOTE] If you are going to hash a password, there is no need to first encrypt it.…
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by Stefano Mtangoo
so which is the best, hashing or encrypting? seeing that I don't need to recover the original password. All I need is security and ability for user to login (which can be done by comparing hashes)
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by phyrtech
[QUOTE=evstevemd;1169422]so which is the best, hashing or encrypting? seeing that I don't need to recover the original password. All I need is security and ability for user to login (which can be done by comparing hashes)[/QUOTE] Hashing is definitely more secure and the preferred method. Hashing makes it so that no one can get the password …
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by Stefano Mtangoo
So hashing is the best! Cool then. What is considered to be the best hashing algorithm? What about salting in hashing, necessary to increase security or another overkill?
Re: Brush myself on encryption
Programming
Web Development
15 Years Ago
by phyrtech
[QUOTE=evstevemd;1169439]So hashing is the best! Cool then. What is considered to be the best hashing algorithm? What about salting in hashing, necessary to increase security or another overkill?[/QUOTE] In my opinion, the best available hashing algorithm would be SHA-2 (SHA-384 or SHA-512 which are equally as strong). You could look into …
Re: Difference when drawing with Brush
Programming
Software Development
12 Years Ago
by pritaeas
The only thing I can think of as to why this is happening, is that the custom control has it's own message loop (windows handle), whereas the graphic control does not. Still, any references to a definite answer are welcomed.
Re: Is disposing a local brush variable necessary?
Programming
Software Development
11 Years Ago
by sknake
You answered your own question. MSDN recommends it so yes. Anything implementing IDisposable should be disposed when it is no longer needed. Local variables are not destroyed immediately when they go out of scope but they are no longer accessible. Calling dispose immediately frees up any resources it can then the GC will, at some point, take the …
Re: Create Paint Brush's Fill Color
Programming
Software Development
17 Years Ago
by binoj_daniel
See my reply on coderewind.
Re: Create Paint Brush's Fill Color
Programming
Software Development
17 Years Ago
by binoj_daniel
I have posted a [URL="http://www.coderewind.com/?messages&open_questions=62&question=7"]solution [/URL]on your post on my[URL="http://www.coderewind.com/?messages&open_questions=62&question=7"] site. [/URL]
HELP linking header files... undefined error message in g++
Programming
Software Development
16 Years Ago
by Hinche4
… void draw_down_left(screen); void draw_down_right(screen); }; #endif] [B][U]
Brush
source code:[/U][/B] [#ifndef BRUSH_H #define BRUSH_H #include "… `screen::screen()' assign3.cc:(.text+0x277): undefined reference to `
Brush
::
Brush
()' assign3.cc:(.text+0x294): undefined reference to `screen::clear()' …
Re: HELP linking header files... undefined error message in g++
Programming
Software Development
16 Years Ago
by Hinche4
… $(CC) $(CCFLAGS) -o assign3.o Screen.o
Brush
.o assign3.: assign3.cc Screen.cc
Brush
.cc $(CC) $(CCFLAGS) -c assign3.o Screen… Screen.h $(CC) $(CCFLAGS) -c screen.o
Brush
.o:
Brush
.cc
Brush
.h $(CC) $(CCFLAGS) -c
Brush
.o clean: -rm *.o -rm assign3. [/code…
Re: HELP linking header files... undefined error message in g++
Programming
Software Development
16 Years Ago
by VernonDozier
… two lines in the beginning of main. [code] screen S;
Brush
B; [/code] This error suggests that you won't get…
Re: HELP linking header files... undefined error message in g++
Programming
Software Development
16 Years Ago
by stilllearning
… screen.cc file. If you have the same stuff in
Brush
.[ch] fix that accordingly and then try to re-compile…
Re: HELP linking header files... undefined error message in g++
Programming
Software Development
16 Years Ago
by Hinche4
… assign3.cc: In function βint main()β: assign3.cc:21: error: β
brush
β was not declared in this scope assign3.cc:21: error…
Another doubt.
Programming
Software Development
18 Years Ago
by bluecat
…Height=20; fig->Width=20; fig->
Brush
->Color=num3[k]; fig->Shape=num4[…TBCirculo->Down){ fig->Shape=stCircle; fig->
Brush
->Color=clLime; } else{ fig->Shape=…Y=fig->Top; figu.color=fig->
Brush
->Color; figu.forma=fig->Shape; Lx…
Re: Another doubt.
Programming
Software Development
18 Years Ago
by bluecat
…->Down){ fig->Shape=stCircle; fig->
Brush
->Color=clLime; } else{ fig->Shape=…Y=fig->Top; figu.color=fig->
Brush
->Color; figu.forma=fig->Shape; …=20; fig->Width=20; fig->
Brush
->Color=num3[k]; fig->Shape=num4…
Delphi CustomCheckListBox
Programming
Software Development
18 Years Ago
by SoulDaddy
…); FCanvas.Handle := hDC; FCanvas.Font := Font; FCanvas.
Brush
:=
Brush
; if (Integer(itemID) >= 0) and (odSelected …clipped 3d checkbox above } OldBrushStyle :=
Brush
.Style; OldBrushColor :=
Brush
.Color; OldPenColor := Pen.Color;
Brush
.Style := bsClear; Pen.Color :=…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC