Fixing an Accenta/Optima Alarm Power Failure Troubleshooting

A long time ago our alarm box died and I thought it was time we diagnose an fix the issue. DO NOT ATTEMPT TO COPY IF YOU DON’T KNOW WHAT YOU ARE DOING. CONTACT AN ELECTRICIAN OR ALARM INSTALLER. We will be opening a delicate box with potentially live mains power and could cause damage to yourself or the panel. As you can see, although our isolation switch is set to ‘ON’ the power light on the alarm box is not illuminated. This may be because, The battery in the alarm has died. A fuse in the alarm box has… Continue reading Fixing an Accenta/Optima Alarm Power Failure Troubleshooting

Using Hashlib to Securely store user passwords and credentials.

What is hashing? Hashing a password means that users cannot have their passwords compromised when a database engineer is reading cleartext in user databases (to a degree, the passwords could be decoded, but hashing them makes them illegible to someone who is not doing anything extensive). And also prevents hackers from reading passwords in plain text and can be compromised by collision attacks. Additionally when hashing a password a salt may be added to the password, this prevents a database from being attacked by dictionary attacks. Why Hash Passwords? Storing User credentials in Plain Text is generally as bad practice as it allows… Continue reading Using Hashlib to Securely store user passwords and credentials.