Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

ravfingcoder

@ravfingcoder
About
Posts
8
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What does Human Resource Professional do?
    R ravfingcoder

    What does human resource "Professional" do?

    The Lounge question learning

  • Deleting Event Log files?
    R ravfingcoder

    How do you delete Windows event log files? I wrote a simple app that log events to a user specified log (ie. not system/application/security, but one that I created).. I tried delete after disabling Events Services. But after restart, Windows restore the log files. Anyone?

    System Admin security question

  • Payroll service
    R ravfingcoder

    I want to develop a payroll application, but we aren't so sure how to integrate our ASP.NET app with the bank. Database on hosted on our own server. Database 'employee' table resmeble this: employeeID salary employee_payroll_account_num ... other things... We want to automate this process. How can we hook up our system with the bank so money can be debted from our company account and transferred to employee account automatically? Can we find relevant information from bank's website directly? Do we need to setup a merchant account, similar to credit card processing? Payment gateway? But this is not credit card processing. It's transfer from one bank account to another. What if company's bank is different from employee's bank?

    Web Development csharp asp-net database sysadmin tutorial

  • Message Queue
    R ravfingcoder

    Hi, just trying to send a bunch of stuff to a message queue: MessageQueue mq = new MessageQueue(".\\MyQueue"); mq.Send("Hello World!"); The exception thrown was: "A workgroup installation computer does not support this operation" It's an XP on which I ran this small code snippet.

    C# data-structures

  • Find a string in a string... Living hell.
    R ravfingcoder

    that's pretty straight forward string parsing. living hell? no.

    C# question

  • Digital Signature
    R ravfingcoder

    How can you retrieve a private/public key from a certificate in a specified store on a local machine? And can you create certificates programmatically? Of course, that's different kind of certs than those from a root CA.

    C# cryptography question learning

  • how do you retrieve IP address and host name again?
    R ravfingcoder

    Hi, how do you retrieve IP address and host name again?

    C# question

  • Bad Data
    R ravfingcoder

    Hi, having trouble decrypting a buffer using RSA. Did you find solution to the problem yet? Here's the code - I've highlighted the problem with "QUESTION" tags. Here's my code, please take a look. Thanks. using System; using System.Text; using System.Security.Cryptography; namespace tryRSA { /// /// Summary description for Class1. /// class Class1 { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { //Main int index=0; int iterations=0; int blocksize=0; int KeySizeByte=0; byte [] btSecret; byte [] btEncryptedSecret; byte [] btDescrambledSecret; byte [] btPlainTxtToken; byte [] btEncryptedToken; string secret = "This is a long secret"; ASCIIEncoding AE = new ASCIIEncoding(); RSACryptoServiceProvider RSA = new RSACryptoServiceProvider(); KeySizeByte = RSA.KeySize/8; blocksize = KeySizeByte -11; //QUESTION 1: I've been told that blocksize is equal Key size less 11 bytes. How'd you know that? Console.WriteLine("Key size: {0}", KeySizeByte); Console.WriteLine("blocksize: {0}", blocksize); btSecret = AE.GetBytes(secret); if(btSecret.Length % blocksize != 0) { iterations = btSecret.Length/blocksize +1; } else { iterations = btSecret.Length/blocksize; } index=0; btPlainTxtToken = new byte [blocksize]; btEncryptedSecret = new byte [iterations*blocksize]; for(int i=0; i

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups