“Transmitting obscene material to a child by computer”
(a) A person is guilty of transmitting obscene material to a child if the person transmits, by means of any computer communication system allowing the input, output, examination, or transfer of computer programs from one computer to another, material which, in whole or in part, depicts actual or simulated nudity, sexual conduct, or sadomasochistic abuse, for the purpose of initiating or engaging in sexual acts with the child.
Revenge porn law:
Alabama Code Title 13A. Criminal Code § 13A-6-240 (https://codes.findlaw.com/al/title-13a-criminal-code/al-code-sect-13a-6-240.html).
(a) A person commits the crime of distributing a private image if he or she knowingly posts, emails, texts, transmits, or otherwise distributes a private image with the intent to harass, threaten, coerce, or intimidate the person depicted when the depicted person has not consented to the transmission and the depicted person had a reasonable expectation of privacy against transmission of the private image.
(b) For purposes of this section, private image means a photograph, digital image, video, film, or other recording of a person who is identifiable from the recording itself or from the circumstances of its transmission and who is engaged in any act of sadomasochistic abuse, sexual intercourse, sexual excitement, masturbation, breast nudity, as defined in Section 13A-12-190 , genital nudity, or other sexual conduct. The term includes a recording that has been edited, altered, or otherwise manipulated from its original form.
(c)(1) For purposes of this section, a reasonable expectation of privacy includes, but is not limited to, either of the following circumstances:
a. The person depicted in the private image created it or consented to its creation believing that it would remain confidential.
b. The sexual conduct depicted in the image was involuntary.
(2) There is no reasonable expectation of privacy against the transmission of a private image made voluntarily in a public or commercial setting.
(d) It is a defense to distributing a private image if the distribution of the private image was made in the public interest, including, but not limited to, the reporting of unlawful conduct; the lawful and common practices of law enforcement, legal proceedings, or medical treatment; or a bona fide attempt to prevent further distribution of the private image.
(e) A violation of this section is a Class A misdemeanor. A subsequent adjudication or conviction under this section is a Class C felony.