Hi folks,
I have been looking through ths hashlib documentation but haven't found anything talking about using salt when hashing data.
Help would be great.
If I were to leave a SHA2 family hash out on my website - how long would it be considered safe? How long would I have before I could be sure that someone would find a collision for it and know what was hashed?
I know that the amount of time would be based on the computational power of the one seeking to break it. It would also depend on the string…
I'm not really that of a linux pro, more of a noob. But i can handle console operations. Well, this is my system:
ASUS ZenBook Prime UX31A
256 GB ADATA MX11 SSD
Intel Core i5-3317U (Ivy-Bridge)
I have a fresh installation of Windows 7 Ultimate (not activated) on a 90 GB NTFS Partition on my SSD, the rest is unassigned. I want to install Ubuntu…
This is the client and server program where a client sends a file to server to save in the server. There is a issuse in that same file name is not getting copied on the server with same file size
Please help me in this
Client program
import socket
import sys
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)…
I'm stuck on problem where my machine started to drops packets with no sign of ANY system load or high interrupt usage after an upgrade to Ubuntu 12.04. My server is a network monitoring sensor, running Ubuntu LTS 12.04, it passively collects packets from 5 interfaces doing network intrusion type stuff. Before the…
I am building a CentOS 5.4 system that boots off a compact flash card using a card reader that emulates an IDE drive. It literally takes about an hour to boot. The ultra-slow part occurs when Grub is loading the kernel. Once that's done, the rest of the boot process only takes about a minute to get to a login…
Hello,
I am having problems with array pointers. I've looked through Google and my attempts are futile so far.
What I would like to do is, I have a char name[256]. I will be 10 of those.
Hence, I would need to keep track of each of them by pointers.
Trying to create a pointer to them.
int main()
{
char…
Take a commonly used binary hash function - for example, SHA-256. As the name implies, it outputs a 256 bit value.
Let A be the set of all possible 256 bit binary values. A is extremely large, but finite.
Let B be the set of all possible binary values. B is infinite.
Let C be the set of values obtained by…
I am not at all versed in Computer Graphics and am in need of creating a color picker as a javascript tool to embed in an HTML page.
First, and looking at Photoshop's one, i thought of the RGB palette as a three-dimensional matrix. My first attempt envolved:
<script type="text/javascript">
…
Kindly tell me why the original image is not coming with this code. The resulting image receive is yellowish in color,instead of being similar to the image Img_new
Img=imread(‘lena_color.tif’);
Img_new=rgb2gray(img);
Send=zeroes(size(Img_new);
Receive= zeroes(size(Img_new);
Mask= rand(size(Img_new);
for…
I've been using this for a while updating mysql as needed. However I'm not too sure on the syntax..and need to migrate the sql to an array.
Particulary the line
database::query("CREATE TABLE $name($query)");
Does this translate to
CREATE TABLE bookmark(name VARCHAR(64), url VARCHAR(256), tag…
If I have a packet of data that is encrypted yet also includes a sha-224 checksum that is not encrypted, am I creating a security vulnerability?
Or perhaps the checksum should be produced after encryption?
I am trying to rewrite the sha-1 algorithm for parallelization in a personal project of mine. Just wondering if anyone knows where I can find a C# implementation of the actual mathematical operations to perform the hash, not just the System.Security.Cryptography function.
When doing a git tag, I'm not always great at remembering if HEAD~6 (for example) is inclusive or exclusive.
Given that most of my commits are prefixed with an issue number, I wondered if there is some magic command for searching for the commit SHA from part of its message.
I know it's easy to…
When doing a git tag, I'm not always great at remembering if HEAD~6 (for example) is inclusive or exclusive.
Given that most of my commits are prefixed with an issue number, I wondered if there is some magic command for searching for the commit SHA from part of its message.
I know it's easy to…
I am having problems pinging from a 5505(remote) to IP 10.160.70.10 in the network behind the 5540(HQ side).
5505
inside IP: 10.56.0.1
Out: 71.43.109.226
5540
Inside: 10.1.0.8
out: 64.129.214.27
I Can ping from 5540 to 5505 inside 10.56.0.1.
I also ran ASDM packet tracer in both directions, it…
Solaris X86 AESNI OpenSSL Engine
Cryptography is a major component of secure e-commerce.
Since cryptography is compute intensive and adds a significant load to applications, such as SSL web servers (https), crypto performance is an important factor.
Providing accelerated crypto hardware greatly…
Solaris X86 AESNI OpenSSL Engine
Cryptography is a major component of secure e-commerce.
Since cryptography is compute intensive and adds a significant load to applications, such as SSL web servers (https), crypto performance is an important factor.
Providing accelerated crypto hardware greatly…
I recieved a list of commands that were run on the right side of the VPN tunnel which is where the Cisco ASA resides. On my side, I have a linux based firewall running debian with openswan installed. I am having an issue with getting to Phase 2 of the VPN negotiation.
Here is the Cisco…
Hi folks,
Follow the Setup of 6to4 tunnel guide, I want to test ipv6 connectivity, but I cannot ping6 to ipv6.google.com.
Details below:
# traceroute 192.88.99.1
traceroute to 192.88.99.1 (192.88.99.1), 30 hops max, 40 byte packets
1 static.vdc.vn (123.30.53.1) 1.514 ms 2.622 ms …
Hello,
I have a Dell R300 Ubuntu 9.10 box with 4GB of memory. All I'm running on there is haproxy, nagios and postfix yet there is ~2.7GB of memory being consumed. I've run ps and I can't get the sums to add up. Could anyone shed any light on where all the memory is being used?
…
I doing Nehe's Open GL Lesson 9. I'm using SFML for windowing, the strange thing is no stars are rendering.
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <iostream>
void processEvents(sf::Window *app);
void…
Hi,
I want to be able to pass anything to a git command (maybe its a SHA, maybe it's just something like "origin/master" or "devel/epxerimental" etc.) and git tells me the ref path of the branch that the passed something lives in, e.g.
<git_command> 0dc27819b8e9 =>…
I'm running Mac OS X Server 10.6, providing an L2TP VPN service. The VPN works just fine when connecting from all computers except one --- this one computer stays at the "Connecting..." stage for a while, then says "The L2TP-VPN server did not respond".
In the console, I…