Chemistry Passwords – Nerdy passwords, secure and memorable

TL:DR – In 2010, I devised a neat way for chemists to devise a memorable password based on a chemical formula. It was fun, but I do not recommend.


WARNING: Do not simply use the formula of a common chemical without obfuscating it in some way. It could be dictionary cracked very easily if you do. A serious recommendation is to use a strong password generator rather than this technique and to store passwords in a digital safe itself locked with a strong password.

Coming up with a secure password that cannot be bruteforce or dictionary attacked but that is easy to remember is quite troubling. So, here’s the nerdiest approach yet.

Think of a compound, any compound, but preferably one with which you are familiar. If you’re in science, then you could pick a compound associated with your research thesis or perhaps the medication you needed to get through the viva.

Now, work out, or look up, its chemical formula. BUT DO NOT STOP THERE…Next, think of a simple algorithm to obfuscate the formula (reverse it and chop off each end perhaps, or if it is a long formula extract all the numbers and put them at one end instead of after each element symbol, you get the idea). Of course, if you pick a compound that happens to share the first couple of letters with the name of the site to which you are logging in, then that should make it easier to remember too.

If you suffer from hayfever you might be using flixonase, when you login to flickr, for example. Formula: C25H31F3O5S, password could be CHFOS253135 or 5O3F13H52. No bruteforce hack attack is going to figure those out in a hurry. Specialists in secondary messenger chemistry with a MySpace account could choose myo-inositol (C6H12O6 –> CHO6126), while nutritional chemists could hide their Facebook behind Factor II (vitamin B12) C63H89CoN14O14P –> CHCONOP63891414.

Of course, you will have to think of your own examples, but with CAS and ChemSpider registering tens of millions of structures, that should not be too hard to do.

Of course, being a chemist you also know about InChi and Smiles string, which could provide you with an even more sophisticated password. The InChi string for aspirin, for instance, is <span class=”chem:inchi”>InChI=1/C9H8O4/c1-6(10)13-8-5-3-2-4-7(8)9(11)12/h2-5H,1H3,(H,11,12)/f/h11H</span>. You could make your obfuscating algorithm to remove all the zeros and reverse the string. The Smiles string is not quite so long O=C(Oc1ccccc1C(=O)O)C, but what about choosing that and adding the same string reversed to the end of the original?

It could all get very convoluted and seemingly random very quickly. But, isn’t that the aim of a good password? According to the password strength tester, the untouched Smiles string for aspirin is “best”, but apply an algo and it will be even better.

The neat part is that you pick a compound you will remember, you can look up its formula any time and you know the obfuscating algorithm. So you thus have a memorable password that is essentially a pseudo-random alphanumeric.

Originally posted Jun 18, 2007 @14:00

Asian flush, blush, glow

UPDATE: March 9, 2010 – Baclofen, the muscle relaxant and GABA agonist is being touted once more as a treatment for alcoholism. Read my thoughts on sibling science site SciScoop.com.

As with much of medical science, the appearance of a fascinating research paper and an accompanying press release do not usually mean that a new pharmaceutical intervention, a medicine, is ready to be prescribed to patients on the very day that the paper appears. The drug discovery, research, and testing processes are much more long-winded than that.

One example was a recent paper on Alda-1, the simplified name for N-(1,3-benzodioxol-5-ylmethyl)-2,6-dichlorobenzamide, a small organic molecule that activates the enzyme ALDH2 (aldehyde dehydrogenase 2). ALDH2 is involved in metabolising the aldehyde byproducts of other substances in the body particularly alcohol.

In September 2008, Alda-1 was touted by the media as a “new drug hope for controlling heart damage”. By activating ALDH2 it was suggested that those people who have an inactive form of that enzyme (some 40% of East Asians and people of East Asian descent) could be treated with the compound to preclude the cardiotoxicity of aldehydes formed when they drink alcohol.

More recently, the same researchers involved in the 2008 study, Thomas Hurley of the University School of Medicine in Indianapolis and Daria Mochly-Rosen, of Stanford University School of Medicine, and colleagues, have published a crystallographic study showing more details of how Alda-1 works to activate ALDH2. You can read my write-up on this work today in the latest issue of the X-ray ezine on SpectroscopyNOW.com.

However, press releases are notoriously hopeful about the actual use to which a piece of biomedical research might be put so I asked Hurley for some additional insight into the likely fortunes of Alda-1.

“Alda-1 is not ready for human trials, nor is it ever likely to be,” he told me. “Its potency is relatively low for an effective in vivo agent, especially when one accounts for its solubility.”

The compound is, as those in pharma research will have realised from the off, simply a lead compound. A compound that researchers will use as the starting point for novel and potentially more efficacious and more soluble compounds, analogues, that would be designed for testing and clinical trials.

“We have much work to do on this before clinical trials can even start to evaluate whether this is an effective strategy in vivo,” conceded Hurley, “I doubt there will anything ready for clinical application for 7-10 years, unless we get really lucky here in the next year with our analogue design and testing,” he adds.

One thing that the original media attention did get right is that Alda-1 might eventually lead to a primary clinical application in the area of cardioprotective effects. This would be rather than it being developed as a drug to allow East Asian drinkers with the ALDH2 mutation to imbibe more alcohol than their flush response, nausea, and palpitations would normally allow them.

“Its use as an activator for alcohol metabolism will, hopefully, be regulated,” Hurley told me, “There are broad ethical issues associated with an application toward reducing alcohol intolerance in the East Asian population or individuals of East Asian descent.”

He points out that pescribing a drug descended from Alda-1 to activate mutant ALDH2 would be like curing a lifestyle issue (alcohol intolerance) and replacing it with an increased risk for a devastating disease – alcoholism. “Currently, there is relatively low risk of alcohol abuse or alcoholism in those individuals who are intolerant to ethanol consumption, so ‘curing’ the intolerance is very likely to lead to an increase in the prevalence of these devastating diseases in these low risk populations,” Hurley added.

Once a drug is developed for the cardioprotective benefits emerges on to the market, however, you can bet your last Yen that a blackmarket will quickly emerge where there are large populations of East Asians, for a pill that would allow otherwise lightweight drinkers to put themselves under the table without the flushing, nausea and palpitations. Of course, it won’t ever preclude the need to consider the health risks of excessive drinking and to seek alcohol treatment if one’s drinking becomes a serious problem.

Research Blogging IconPerez-Miller, S., Younus, H., Vanam, R., Chen, C., Mochly-Rosen, D., & Hurley, T. (2010). Alda-1 is an agonist and chemical chaperone for the common human aldehyde dehydrogenase 2 variant Nature Structural & Molecular Biology DOI: 10.1038/nsmb.1737

Classic musical science and Stradivarnish

It won’t necessarily be music to the classical purist’s ear, but chemists have been instrumental in revealing the secret beneath the varnish on a Stradivari violins, and the secret is: there is no secret.

Antonio Stradivari is perhaps the most famous instrument maker of all time. He is especially celebrated for his violins, which he made in Cremona circa 1665 till his death in 1737. The “legendary” varnish on his instruments has fascinated musicians, violin makers, historians, and others ever since and has led to repeated speculation that there was a secret ingredient that endowed a Stradivari violin with its unique and beautiful tone.

Stradivari violin

Now, European researchers have taken minute samples from carefully selected parts of five violins and subjected them to microscopic and spectroscopic analysis. Although the different instruments were made over a period of three decades it turns out that their varnishes are all very similar. It is only the red pigments that seem to vary through Stradivari’s career and, for those listening in black and white, the colour of a violin has no aural impact.

I asked the creative director at ClassicFM, Tim Lihoreau, what he thought about the discovery. I almost expected an angry, or at least resistant, response along the lines of, “how could the scientists shatter the illusion,” but he was actually rather encouraged by the analytical chemistry:

“At first, I was surprised by this news,” Lihoreau told me, “I’d always heard that it was something in the varnish that made Strads so special – the vintage Rollers of the fiddle world, as it were. Having said that, in many ways it only adds to the mystique of the Cremonese creator – that, in some ‘weird science’ way, it’s his magic art that is the key: a blend of all his crafts, coming together to make such legendary instruments.”

Anyway, more on that story and others in my latest SpectroscopyNOW column.

Absolute chemical headlines

copper-alchemistA wide range of stories again in this week’s Alchemist column on ChemWeb.com

Absolute configurations reveal themselves through NMR spectroscopy using residual dipolar couplings in small molecules, according to an international team who have put it to work on an anticancer compound. Discussed also in more detail on SpectroscopyNOW.com

A failed antidepressant could be marketed as a novel treatment for female sexual dysfunction. Also covered on Reactive Reports.

In the world of inorganic materials, researchers have discovered a new class of composites in which dihydrogen layers trap atoms of the noble gas xenon to form a stable solid under extreme pressures.

A new approach to carbon nanotubes provides chemists with an insider view of these unique materials, while an award for $2.8 million looks set to lead the way to truly room temperature superconductors.

Finally, controversial claims about the state of the environment suggest that total economic collapse or the building of at least one nuclear power station each day (or its non-carbon energy equivalent) is the only way rising carbon emissions will be stopped and catastrophic climate change abated.

Latest science headlines

Time to bring you up to date on the latest science headlines I’ve put together for other sites this last couple of weeks, so here’s a quick round-up:

On the SpectroscopyNOW site, this issue, I covered natural chemicals that can help sunflowers soak up toxic cadmium from the soil (another example of the phytoremediation process I discussed in more detail on Sciencebase.com recently). I also describe a new approach to spectroscopy that could help chemists work out the absolute structure of natural products with medicinal potential.

In the same issue, under the X-ray banner, I explain how US researchers have for the first time homed in on the role of the trace element selenium in male infertility. Their work offers some new clues as to what leads to malformed sperm in some cases.

I also report on yet another “omics”, in which conservators take a leaf out of the biologists’ handbook to find a way to judge a book not by its cover, but by its odour.

Over, on the Intute physical sciences blog, formerly my monthly Spotlight column, I reported on proton spin, magnetic wind, and the latest catalysis research with implications for industry.

And, ever present, the ubiquitous and omnipresent Alchemist. First to fall under The Alchemist’s crystalline gaze is Korean work into coating yeast particles with a protective silica shell to stabilize the organism for new lines of research. Geochemistry billions of years old reveals a sulfidic past and answers questions about how the Earth got its oxygen-rich atmosphere. In biophysical chemistry, US scientists have found a way to extend the redox range of copper-containing proteins and in computational chemistry Dutch scientists explain precisely how hydrogen interacts with copper surfaces. Good news for those fearful of mercury dental fillings, as a new composite material emerges from polymer and nanochemistry research. Finally, a cash injection from US recovery funds could see the establishment of yet another “Facebook for scientists”, only this time it’s aimed squarely at American institutions.

Alchemical Anomalies

copper-alchemistIn the current issue of The Alchemist we learn how to stick methane molecules to metals without breaking carbon-hydrogen bonds and how to make impossible carbene catalysts without the usual prerequisite of an attendant metal centre.

Another seeming impossibility comes to light: a new microscopy technique for visualizing non-fluorescing biomolecules using the kind of stimulated emission suggested by Einstein almost a century ago.

An exchange program leads to a new way to make nanoscopic tools from tiny wires of cadmium sulfide, we hear, while an extract of grape skin shows promise as a novel therapy for sickle cell anaemia.

Finally, a young medicinal chemist receives a prestigious American Chemical Society fellowship in organic chemistry.

All the write-ups and links in the current issue of the ChemWeb chemistry zine.

Food Chemistry News

On the menu today, why red wine is a no-no when it comes to fishy cuisine, how chemists can help you improve your gravy, and a whole platter of food chemistry to tempt your taste buds:

“Red wine with red meat, white wine with fish.” But, have you ever wondered why? Japanese chemists have discovered that the iron in red wine simply makes fish taste too…well…fishy…giving your mouth an unpleasant, fishy aftertaste, according to a report in the Journal of Agricultural and Food Chemistry.

food oranges trout onions

Gravy training – The British probably have as many different recipes for making gravy as they have gravy boats from which to pour it over their roast beef. But, a spot of chemistry can improve not only the flavor, texture, and color, but give gravy a healthy boost. Here’s the definitive chemical guide to making gravy.

Pink pepper is actually the dried berry of the Brazilian weed Schinus terebinthifolius and contains an irritating phenol-type compound known as cardanol. Pink pepper causes a range of toxic reactions including rashes, oral and respiratory irritation, chest pains and tightness, headaches, swollen eyelids, stomach upset, diarrhoea and haemorrhoids. Nice… But, despite that it’s a trendy ingredient among trendy chefs. The Guardian provides the skinny on pink pepper.

Apparently, American gourmets are latching on to the Japanese concept of umami, or “deliciousness”, which is considered the fifth taste after salt, sweet, sour, and bitter. The word roughly translates as “tasty”, although “brothy”, “meaty”, or “savory” could do just as well. It’s difficult to translate a whole concept literally. Recently, scientists homed in on a specific tongue receptor linked to natural “glutamate”; as in the amino acid part of monosodium glutamate, the sodium there to make it soluble in water. Glutamate, of course, is the archetypal umami ingredient, so the link grows stronger.

Now, a couple of stories for those parts of the world now entering the barbecue season. Chemists have figured out how to make meats more succulent and tasty on the grill, while others have figured out that it’s the sour receptors on your tongue that respond to the bubbles in soda pop.

Finally, although British scientists came up with an explanation a decade ago, apparently the French have turned their attention to that Great British passtime – tea drinking – and have found a possible way to solve the perennial problem of the dribbling teapot. They report details in a physics preprint just uploaded to the arXiv servers.

Well, after all this talk of food, I’m now feeling a little peckish, so off to do a little cordon blue in the kitchen…or maybe I’ll just break into the snack cupboard instead…

Sniffer, E coli Clues, Graphene

The second batch of physical science and biomedical research news in the SpectroscopyNOW ezines are live:

Optical sniffer detects poison gas – US researchers have developed an optoelectronic nose that can sniff out toxic gases. The sensor is fast and inexpensive and could be used to detect high exposure risk to hazardous industrial chemicals.

E coli clues – New clues as to the virulence of the potentially lethal bacterium Escherichia coli O157:H7 has emerged from structural and functional relationship studies of its autotransport and proteolytic EspP proteins. A comparison with X-ray diffraction results reveals important clues about these proteins.

Imaging a semiconductor sandwich – A technological mash-up between graphene and the semiconductor gallium arsenide as characterised by optical microscopy and Raman spectroscopy and other techniques could pave the way to hybrid electronics devices that bridge the gap between current silicon circuitry and future molecular electronics

Dental Lead, Lung Cancer and Monopoles

This week’s ezines on SpectroscopyNOW are now live, featuring a breath test for lung cancer, magnetic monopoles, a way to boost fuel cells, and reducing toxic waste from dental surgeries.

Extracting the dental lead – Lead contamination in the black paper used to mask dental X-ray paper has been determined for the first time using AAS. The worrying results suggest that the used material represents an environmental waste problem requiring pre-treatment before disposal.

I asked the researchers to outline the importance of their study. Team leader Debora Guedes told me that, “There are still more than 600 million packets of intraoral film exposed each year in the USA alone, and much more elsewhere in the world. The volume of potential waste materials is significant,” she says.

She pointed out that while attention has previously been given to the disposal of the lead foil used against backscatter radiation that can fog an X-ray image and also to avoiding lead-lined boxes to store intraoral dental X-ray film, lead contamination of the black paper used to help exclude light from the film, or the paper or plastic wrapping of the film and lead foil has been ignored entirely, she adds. “This study is an important public health contribution as it indicates that this neglect is of potential importance,” Guedes told me.

A breather for lung cancer suspects – Researchers in Israel have used cheminformatics methods to “train” an array of gold-nanoparticle sensors to rapidly distinguish between the out breath of lung cancer patients and that of healthy individuals.

Monopoles apart – Four research papers, two of which were published in the journal Science, this week, and two submitted to the physics preprint archive, suggest that a long-sought icon of fundamental physics has finally been discovered – the magnetic monopole. This fundamental research could have enormous potential in materials research, nanotechnology, and eventually instrumentation.

Fuelling nanotube potential – X-ray diffraction and X-ray photoelectron spectroscopy have been used to analyse semimetallic titanium dioxide nanotubes with potential in fuel cell technology.

50 Million Chemicals and Counting

UPDATE: Sept 8 – Compound 50m in the CS Registry is a novel arylmethylidene heterocycle with analgesic properties called (5Z)-5-[(5-fluoro-2-hydroxyphenyl)methylene]-2-(4-methyl-1-piperazinyl)-4(5H)-thiazolone. (Registry number 1181081-51-5).

According to an email I received from a CAS spokesman, “The number itself represents an important milestone both for researchers and CAS, but even more significant is the pace of scientific discovery around the world.” Roger Schenck, Manager of the Content Planning Department at CAS, adds that, “More scientific literature is being published and we have noticed an explosive growth of patent literature since 1998 that accounts for the rapid growth of substance information available.”

cas-1181081-51-5By contrast, it took 33 years for CAS to register 10 million compounds, a milestone reached in 1990.

It’s intriguing to think that two decades after I wrote a news item (very early in my career) discussing the announcement of that 10 millionth entry for one of the chemistry trade magazines, that CAS should be recording its 50 millionth substance. Indeed, it’s a mere nine months since it announced the 40 millionth.

chemical compounds on CAS

Apparently, the predominant source of this new chemical substance information is the global patent literature. Several years ago, patents accounted for approximately 20 percent of the substance information added to the registry. Today, that number is closer to 70 percent. It was that statement that intrigued me most.

But, I wonder…if they’re scraping patents on such a vast scale, is the addition of a few extra million entries actually representative of technological advance? An alternative explanation is that it simply shows how clever patent attorneys are at working with chemists to couch their claims in such imaginative ways to envelope a whole chemical space in a single sentence.

The increase could be a real indication that researchers increasingly are thinking in terms of monetizing their discoveries, and doing so much earlier in the research process. It could of course be due to increasing research around the world or maybe it’s driven by demand for more advanced electronics and the need for materials for such devices. There are also increasing demands from medical and pharmaceutical research. But, could this have lead to so many million more compounds?

I’m sure it’s not just CAS running a “stamp collecting” business, there has been research demonstrating molecular diversity in the collection.

Schenck confirmed that molecular diversity is something CAS takes seriously. “In regards to molecular diversity in CAS Registry, CAS scientists recently published an article in the Journal of Organic Chemistry on structural diversity among the 24 million organic substances in Registry at the time and may help to answer in-depth diversity questions,” he says.

He also pointed out that CAS monitors the literature as it is published and selects substances in the literature that meet its criteria. To be added the structure must come from a reputable source, including but not limited to patents, journals, chemical catalogues, and selected substance collections on the web. It has to have been described in largely unambiguous terms, characterized by physical methods or described in a patent document example or claim. It also has to be consistent with the laws of atomic covalent organization.

There are also some subtle legislative effects at play too, as Schenck explains:

In the academic community, such activities were greatly enhanced by U.S. legislation passed in 1980, the Bayh-Dole Act, which requires that universities actively seek commercialization for federally-funded research.

The 50-millionth compound will be an interesting milestone. Its identity will not be revealed until tomorrow. It’s probably not going to be a magic bullet for disease or an environmental panacea, but it’s not going to be a trivial compound either. Just how interesting it is will be determined over time, after all there are few compounds without any intrinsic interest.

It would be a happy coincidence if this 50 millionth entry just happened to be something chemically fascinating, to drive innovation from cancer research and nanotechnology to alternative fuel vehicles, cell phones and more. I suspect it will be a little more mundane, but 50 million entries in any collection is a significant milestone regardless.

Research Blogging IconLipkus, A., Yuan, Q., Lucas, K., Funk, S., Bartelt, W., Schenck, R., & Trippe, A. (2008). Structural Diversity of Organic Chemistry. A Scaffold Analysis of the CAS Registry The Journal of Organic Chemistry, 73 (12), 4443-4451 DOI: 10.1021/jo8001276